Skip to content

Commit

Permalink
Add: EXPORT_TAG variable to explicitly specify export tag
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann committed Jan 7, 2025
1 parent a12c41e commit 9f545d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ jobs:

- name: Prepare environment variables
run: |
echo "IMAGE=ghcr.io/${{ github.repository }}/$(echo ${{ matrix.CONTEXT }} | cut -d / -f 2):${{ matrix.TAG }}" >> $GITHUB_ENV
echo "IMAGE=ghcr.io/${{ github.repository }}/$(echo ${{ matrix.CONTEXT }} | cut -d / -f 2):${{ matrix.EXPORT_TAG || matrix.TAG }}" >> $GITHUB_ENV
echo "BUILD_ARGS<<EOF" >> $GITHUB_ENV
echo "TAG=${{ matrix.TAG }}" >> $GITHUB_ENV
if [[ -n "${{ matrix.BASEIMAGE }}" ]]; then
Expand Down

0 comments on commit 9f545d1

Please sign in to comment.