diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml index 977ca36c3..04f478b71 100644 --- a/.github/workflows/docker_publish.yml +++ b/.github/workflows/docker_publish.yml @@ -57,17 +57,21 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Configure docker image tag + run: | + image_base_tag=ghcr.io/${{ github.repository_owner }}/ + image_base_tag+=dagmc-ci-ubuntu-${{ matrix.ubuntu_version }} + image_base_tag+=-${{ matrix.compiler}} + image_base_tag+=-hdf5_${{ matrix.hdf5_version}} + image_base_tag+=-moab_${{ matrix.moab_version }} + image_base_tag+=-geant4_${{ matrix.geant4_version }} + image_base_tag+=-double_down_${{ matrix.double_down_version }} + echo "image_base_tag=${image_base_tag}" >> "$GITHUB_ENV" + - name: Installing Dependencies in Docker image uses: firehed/multistage-docker-build-action@v1 with: - repository: > - ghcr.io/${{ github.repository_owner }}/ - dagmc-ci-ubuntu-${{ matrix.ubuntu_version }} - -${{ matrix.compiler}} - -hdf5_${{ matrix.hdf5_version}} - -moab_${{ matrix.moab_version }} - -geant4_${{ matrix.geant4_version }} - -double_down_${{ matrix.double_down_version }} + repository: ${{ env.image_base_tag }} stages: base, external_deps, hdf5, moab, dagmc server-stage: dagmc_test quiet: false