Skip to content

Commit

Permalink
try both head_ref and ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Aug 14, 2024
1 parent e9ad2ab commit 34067c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ jobs:
with:
file: ./replicator/Dockerfile
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/replicator:${{ github.ref_name }}.${{ github.sha }}
tags: ${{ vars.DOCKERHUB_USERNAME }}/replicator:${{ github.head_ref || github.ref_name }}.${{ github.sha }}

0 comments on commit 34067c3

Please sign in to comment.