Skip to content

Commit

Permalink
check values
Browse files Browse the repository at this point in the history
  • Loading branch information
abe garcia committed Nov 7, 2023
1 parent 440555b commit cc1abc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
run: |
set -vx
echo "RELEASE_VERSION=$(echo ${{ github.ref_name }} | sed 's/v//g' | sed 's/+/-/g')" >> $GITHUB_ENV
if ${{ github.event_name }} != 'released'; then
if [ "${{ github.action }}" != "released" ]; then
echo "TAGS=${{ env.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV
else
echo "TAGS=${{ env.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.RELEASE_VERSION }},${{ env.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest" >> $GITHUB_ENV
fi
echo ${{ toJson(github.event) }}
${{ toJson(github.event) }}
# - name: Build and push
# id: docker_build
Expand Down

0 comments on commit cc1abc0

Please sign in to comment.