Skip to content

Commit

Permalink
chore: fix Docker latest tagging
Browse files Browse the repository at this point in the history
- Add `latest` tag conditionally for the Docker metadata action when the input tag is `master`
- Remove the conditional setting of the `latest` tag when the input tag is `dev` in the Docker metadata action

Signed-off-by: 陳鈞 <jim60105@gmail.com>
  • Loading branch information
jim60105 committed Mar 10, 2024
1 parent 157ad0c commit 76d60c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-reused-setup-steps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ runs:
images: ghcr.io/${{ github.repository_owner }}/stable-diffusion-webui
tags: |
dev,enable=${{ inputs.tag == 'master' }}
latest,enable=${{ inputs.tag == 'master' }}
${{ inputs.tag }},enable=${{ inputs.tag != 'master' }}
type=raw,value=latest,enable=${{ inputs.tag == 'dev' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down

0 comments on commit 76d60c0

Please sign in to comment.