diff --git a/.github/workflows/reusable-docker-build.yml b/.github/workflows/reusable-docker-build.yml index b9334a5d7d0e..4f6b5b39b225 100644 --- a/.github/workflows/reusable-docker-build.yml +++ b/.github/workflows/reusable-docker-build.yml @@ -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