Skip to content

Commit

Permalink
SDP-1044 - prevent pre-release from pushing latest image (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwen-abid authored Mar 29, 2024
1 parent 2797628 commit 3ddd34e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker_image_public_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
push: true
build-args: |
GIT_COMMIT=${{ github.event.release.tag_name }}
tags: stellar/stellar-disbursement-platform-frontend:${{github.event.release.tag_name}},stellar/stellar-disbursement-platform-frontend:latest
tags: |
stellar/stellar-disbursement-platform-frontend:${{github.event.release.tag_name}}
${{ if eq(github.event.release.prerelease, 'false') }}stellar/stellar-disbursement-platform-frontend:latest${{ endif }}
file: Dockerfile

build_and_push_docker_image_on_dev_push:
Expand Down

0 comments on commit 3ddd34e

Please sign in to comment.