Skip to content

Commit

Permalink
Use github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeller authored Jan 31, 2024
1 parent c36ff8c commit beefe5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set image tag
run: |
echo "IMAGE_TAG_SUFFIX=_$(echo '${{ github.ref_name }}' | tr / -)_ci" >> $GITHUB_ENV
if: github.ref.name != github.event.repository.default_branch
if: github.ref_name != "tagging"

- uses: docker/build-push-action@v5
name: Build and push
Expand Down

0 comments on commit beefe5a

Please sign in to comment.