Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Use refs/heads/master directly in docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
henryclw committed Apr 28, 2022
1 parent cab89bc commit 8d9b75e
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 @@ -43,7 +43,7 @@ jobs:
type=ref,event=branch
type=semver,pattern={{version}}
# set latest tag for master branch
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=raw,value=latest,enable=${{ github.ref == "refs/heads/master" }}
- name: Build and push all platforms
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 8d9b75e

Please sign in to comment.