Skip to content

Commit

Permalink
Image name change
Browse files Browse the repository at this point in the history
  • Loading branch information
sureshhewabi committed Oct 3, 2023
1 parent fe1439c commit 0d82f26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/github.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ jobs:
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GHCR_TOKEN }}

- name: Print variables
run: echo $GITHUB_REPOSITORY $IMAGE_NAME $GITHUB_SHA

- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:$GITHUB_SHA
ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:latest
tags: ghcr.io/$GITHUB_REPOSITORY/$IMAGE_NAME:$GITHUB_SHA

deploy:
needs: docker_build
Expand Down

0 comments on commit 0d82f26

Please sign in to comment.