Skip to content

Commit

Permalink
Merge pull request #86 from stellar/chore/cherry-pick-ci-changes
Browse files Browse the repository at this point in the history
Chore - add pre-release TAGS
  • Loading branch information
marwen-abid authored Mar 29, 2024
2 parents a6dcbb4 + a53a81e commit 278767f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docker_image_public_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ jobs:
exit 1
fi
- name: Determine Docker Tags
id: docker_tags
run: |
if [ "${{ github.event.release.prerelease }}" = "false" ]; then
echo "TAGS=stellar/stellar-disbursement-platform-frontend:${{ github.event.release.tag_name }},stellar/stellar-disbursement-platform-frontend:latest" >> $GITHUB_OUTPUT
else
echo "TAGS=stellar/stellar-disbursement-platform-frontend:${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
fi
- uses: actions/checkout@v3

- name: Login to DockerHub
Expand All @@ -43,9 +52,7 @@ jobs:
push: true
build-args: |
GIT_COMMIT=${{ github.event.release.tag_name }}
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 }}
tags: ${{ steps.docker_tags.outputs.tags }}
file: Dockerfile

build_and_push_docker_image_on_dev_push:
Expand Down

0 comments on commit 278767f

Please sign in to comment.