Skip to content

Commit

Permalink
Merge pull request #124 from Sunbird-RC/modify-GHA-public-repo
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 4d130ca + 66db1bf commit 5287ecc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
- name: Check out the repo
uses: actions/checkout@v3

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

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: dockerhub/sunbird-rc-admin-portal
images: sunbird-rc/sunbird-rc-admin-portal

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
Expand Down

0 comments on commit 5287ecc

Please sign in to comment.