mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-07-01 00:31:27 +00:00
fix if statement for docker image
This commit is contained in:
parent
f9b4c1d722
commit
1be3d2d176
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
|
@ -49,10 +49,10 @@ jobs:
|
|||
|
||||
- name: Build and push release
|
||||
uses: docker/build-push-action@v4
|
||||
if: (!startsWith(github.ref, 'refs/tags/'))
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
push: true
|
||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.release }}
|
||||
tags: ghcr.io/ravenscroftj/turbopilot:${{ github.ref }}
|
||||
context: ${{github.workspace}}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user