Skip to content

Commit

Permalink
chore: Update Docker build arguments and tags in CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Jul 14, 2024
1 parent ef61bed commit fadd76b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
uses: docker/build-push-action@v6
with:
build-args: |
"GH_NPM_TOKEN=${{ secrets.GITHUB_TOKEN }}"
GH_NPM_TOKEN=${{ secrets.GITHUB_TOKEN }}
push: true
tags: |
${{ github.ref_name == 'main' && 'ghcr.io/${{ env.IMAGE_REPOSITORY }}:latest' || '' }}
${{ github.ref_name == 'main' && 'ghcr.io/${{ env.IMAGE_REPOSITORY }}:${{ github.sha }}-${{ github.run_number }}' || 'ghcr.io/${{ env.IMAGE_REPOSITORY }}:beta-${{ github.sha }}-${{ github.run_number }}' }}
${{ github.ref_name == 'main' && 'ghcr.io/' || '' }}${{ env.IMAGE_REPOSITORY }}${{ github.ref_name == 'main' && ':latest' || '' }}
${{ github.ref_name == 'main' && 'ghcr.io/' || '' }}${{ env.IMAGE_REPOSITORY }}${{ github.ref_name == 'main' && ':${{ github.sha }}-${{ github.run_number }}' || ':beta-${{ github.sha }}-${{ github.run_number }}' }}

0 comments on commit fadd76b

Please sign in to comment.