Skip to content

Commit

Permalink
Fix ref to env var
Browse files Browse the repository at this point in the history
Signed-off-by: Byron Ruth <[email protected]>
  • Loading branch information
bruth committed Feb 9, 2024
1 parent e88465d commit 521846e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
with:
context: "{{defaultContext}}:2.10.x/alpine3.19"
push: true
tags: "$IMAGE_NAME:${{ github.ref_name }}-alpine3.19"
tags: "${{ env.IMAGE_NAME }}:${{ github.ref_name }}-alpine3.19"

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:2.10.x/scratch"
push: true
build-args: "BASE_IMAGE=$IMAGE_NAME:${{ github.ref_name }}-alpine3.19"
tags: "$IMAGE_NAME:${{ github.ref_name }}-scratch"
build-args: "BASE_IMAGE=${{ env.IMAGE_NAME }}:${{ github.ref_name }}-alpine3.19"
tags: "${{ env.IMAGE_NAME }}:${{ github.ref_name }}-scratch"

0 comments on commit 521846e

Please sign in to comment.