Skip to content

Commit

Permalink
docker: fix GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 11, 2023
1 parent 3dc89d9 commit d6e41d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dockerpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ jobs:
run: echo "IMAGE_BUILD_TIMESTAMP=$(date +'%Y%m%d_%H%M%S')" >> $GITHUB_ENV

- name: Populate sentry release tag for development
run: echo "SENTRY_RELEASE=${{github.sha}} >> $GITHUB_ENV
if: ${{steps.meta.outputs.tags == 'latest'}}
run: echo "SENTRY_RELEASE=${{github.sha}}" >> $GITHUB_ENV
if: ${{steps.meta.outputs.version == 'latest'}}

- name: Populate sentry release tag for prod/sandbox
run: echo "SENTRY_RELEASE=${{steps.meta.outputs.tags}} >> $GITHUB_ENV
if: ${{steps.meta.outputs.tags != 'latest'}}
run: echo "SENTRY_RELEASE=${{steps.meta.outputs.version}}" >> $GITHUB_ENV
if: ${{steps.meta.outputs.version != 'latest'}}

- name: Build and publish image
uses: docker/build-push-action@v3
Expand Down

0 comments on commit d6e41d3

Please sign in to comment.