might work, might not - fix image tag
Some checks failed
Publish Docker Image / docker (push) Failing after 17s

This commit is contained in:
Lee 2023-07-08 01:30:27 +01:00
parent 5dbfd02153
commit b141ce2045

View File

@ -58,7 +58,12 @@ jobs:
with:
push: true
context: .
tags: fascinated/sharex-php-uploader:${{ steps.branch-name.outputs.current_branch }}
tags: |
{{ if eq(steps.branch-name.outputs.current_branch, 'master') }}
fascinated/sharex-php-uploader:latest
{{ else }}
fascinated/sharex-php-uploader:${{ steps.branch-name.outputs.current_branch }}
{{ endif }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache