Skip to content

Commit

Permalink
Merge pull request #125 from Sunbird-RC/fixing-permissions
Browse files Browse the repository at this point in the history
Update docker-image.yml
  • Loading branch information
srprasanna authored Sep 14, 2023
2 parents 5287ecc + 7215f81 commit 450bfeb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GHCR Docker Registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
username: ${{ secrets.GITHUB_USERNAME }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
Expand All @@ -28,7 +31,7 @@ jobs:
images: sunbird-rc/sunbird-rc-admin-portal

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v3
with:
context: .
push: true
Expand Down

0 comments on commit 450bfeb

Please sign in to comment.