Skip to content

Commit

Permalink
Fix the ref name when building the image
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkopf authored Jun 20, 2023
1 parent cfc4249 commit 522ac0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ${GITHUB_REPOSITORY}:${GITHUB_REF} --tag ${GITHUB_REPOSITORY}:latest
run: docker build . --file Dockerfile --tag ${GITHUB_REPOSITORY}:${GITHUB_REF_NAME} --tag ${GITHUB_REPOSITORY}:latest

0 comments on commit 522ac0b

Please sign in to comment.