Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-daw committed Mar 30, 2024
1 parent c343e1e commit 769b3de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
- name: Prepare tags
run: |
TAGS="${{ env.IMAGE_NAME }}:sha-${{ env.SHORT_SHA }}"
if [ -n "${{ env.VERSION_TAG }}" ]; then
TAGS="${TAGS},${{ env.IMAGE_NAME }}:${{ env.VERSION_TAG }}"
fi
TAGS="${{ env.IMAGE_NAME }}:sha-${{ env.SHORT_SHA }}, ${{ env.IMAGE_NAME }}:${{ env.VERSION_TAG }}"
echo "TAGS=$TAGS" >> $GITHUB_ENV
- name: Build and push
Expand Down

0 comments on commit 769b3de

Please sign in to comment.