Skip to content

Commit

Permalink
Changed the docker hub tag in the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lijamie98 authored Mar 8, 2023
1 parent 7032d33 commit 8b046f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/wf_release_created_or_updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
run: |
echo "EXPECTED_RELEASE_TAG=release-$(${{github.workspace}}/gradlew -q printVersionName)"
echo "EXPECTED_RELEASE_TAG=release-$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_ENV
echo "DOCKER_HUB_TAG=$(${{github.workspace}}/gradlew -q printVersionName)"
echo "DOCKER_HUB_TAG=$(${{github.workspace}}/gradlew -q printVersionName)" >> $GITHUB_ENV
- name: Fail if the release version and the project version do not match
if: ${{ github.event.release.tag_name != env.EXPECTED_RELEASE_TAG }}
Expand All @@ -42,7 +44,7 @@ jobs:
uses: docker/[email protected]
with:
push: true
tags: stellar/anchor-platform:${{ env.EXPECTED_RELEASE_TAG }},stellar/anchor-platform:latest
tags: stellar/anchor-platform:${{ env.DOCKER_HUB_TAG }},stellar/anchor-platform:latest
file: Dockerfile

complete:
Expand Down

0 comments on commit 8b046f2

Please sign in to comment.