ci: Fixing the github release workflow to push the latest tags for Docker images (#16999)

This commit is contained in:
Arpit Mohan 2022-09-23 05:57:24 +02:00 committed by GitHub
parent d62acb209a
commit 35a183a492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ jobs:
# Only build & tag with latest if the tag doesn't contain beta
- name: Build and push client image latest
if: contains(needs.prelude.outputs.tag, 'beta') == 'false'
if: needs.prelude.outputs.is_beta == 'false'
uses: depot/build-push-action@v1
with:
context: app/client
@ -261,7 +261,7 @@ jobs:
# Only build & tag with latest if the tag doesn't contain beta
- name: Build and push fat image latest
if: contains(needs.prelude.outputs.tag, 'beta') == 'false'
if: needs.prelude.outputs.is_beta == 'false'
uses: depot/build-push-action@v1
with:
context: .
@ -284,7 +284,7 @@ jobs:
# Only build & tag with latest if the tag doesn't contain beta
- name: Build and push server image latest
if: contains(needs.prelude.outputs.tag, 'beta') == 'false'
if: needs.prelude.outputs.is_beta == 'false'
uses: depot/build-push-action@v1
with:
context: app/server
@ -305,7 +305,7 @@ jobs:
# Only build & tag with latest if the tag doesn't contain beta
- name: Build and push RTS image latest
if: contains(needs.prelude.outputs.tag, 'beta') == 'false'
if: needs.prelude.outputs.is_beta == 'false'
uses: depot/build-push-action@v1
with:
context: app/rts