From a2b46aefb4fb5d5453074d198f2c4bee04c9909f Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 13 May 2024 15:11:28 -0500 Subject: [PATCH] fix: use gha-${{ github.run_id }} as INTERNAL_TAG --- .github/workflows/build-push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index 09084a46..251b1972 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -21,7 +21,7 @@ env: ## GitHub registry GH_REGISTRY: ghcr.io GH_REGISTRY_USER: eic - GH_PUSH: 0 + GH_PUSH: 1 jobs: base: @@ -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 }} @@ -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 }}