Skip to content

Commit

Permalink
Update reusable-docker-build.yml
Browse files Browse the repository at this point in the history
can't use `github.event.repository.default_branch` just yet
  • Loading branch information
kosarko authored Jun 20, 2024
1 parent 5b41c7b commit e35f4d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ env:
# For a new commit on other branches, use the branch name as the tag for Docker image.
# For a new tag, copy that tag name as the tag for Docker image.
IMAGE_TAGS: |
type=raw,value=dspace-7_x,enable=${{ github.ref_name == github.event.repository.default_branch }}
type=raw,value=dspace-7_x,enable=${{ github.ref_name == 'clarin-v7' }}
type=raw,value=${{ github.sha }}
type=ref,event=branch,enable=${{ github.ref_name != github.event.repository.default_branch }}
type=ref,event=branch,enable=${{ github.ref_name != 'clarin-v7' }}
type=ref,event=tag
# Define default tag "flavor" for docker/metadata-action per
# https://github.com/docker/metadata-action#flavor-input
Expand Down

0 comments on commit e35f4d4

Please sign in to comment.