Skip to content

Commit

Permalink
fix: use gha-${{ github.run_id }} as INTERNAL_TAG
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc authored May 13, 2024
1 parent 40c5bcd commit a2b46ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
## GitHub registry
GH_REGISTRY: ghcr.io
GH_REGISTRY_USER: eic
GH_PUSH: 0
GH_PUSH: 1

jobs:
base:
Expand Down Expand Up @@ -62,10 +62,9 @@ jobs:
file: containers/debian/base.Dockerfile
context: containers/debian
platforms: ${{ matrix.PLATFORM }}
push: false
push: true
tags: |
eicweb/${{ matrix.BUILD_IMAGE }}:gha
ghcr.io/eic/${{ matrix.BUILD_IMAGE }}:gha
ghcr.io/eic/${{ matrix.BUILD_IMAGE }}:gha-${{ github.run_id }}
build-args: |
BASE_IMAGE=${{ matrix.BASE_IMAGE }}
BUILD_IMAGE=${{ matrix.BUILD_IMAGE }}
Expand Down Expand Up @@ -136,6 +135,7 @@ jobs:
DOCKER_REGISTRY=${{ env.GH_REGISTRY }}/${{ env.GH_REGISTRY_USER }}/
BASE_IMAGE=${{ matrix.BASE_IMAGE }}
BUILD_IMAGE=${{ matrix.BUILD_IMAGE }}
INTERNAL_TAG=gha-${{ github.run_id }}
SPACK_ORGREPO=${{ steps.spack.outputs.orgrepo }}
SPACK_VERSION=${{ steps.spack.outputs.version }}
SPACK_CHERRYPICKS=${{ steps.spack.outputs.cherrypicks }}
Expand Down

0 comments on commit a2b46ae

Please sign in to comment.