Skip to content

Commit

Permalink
Use branch name from prerequisites step
Browse files Browse the repository at this point in the history
  • Loading branch information
hupf committed Sep 12, 2023
1 parent f03914b commit 6cb21df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
images: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}},value=${{steps.tag.outputs.new_tag}}
type=raw,value=${{ needs.prerequisites.outputs.branch }}
type=semver,pattern={{version}},value=${{ steps.tag.outputs.new_tag }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 6cb21df

Please sign in to comment.