Skip to content

Commit

Permalink
fix ${{ env.image_base_tag }}
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Dec 11, 2023
1 parent ff3ea55 commit 78c2ac2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ jobs:
- name: Installing Dependencies in Docker image
uses: firehed/multistage-docker-build-action@v1
with:
repository: $image_base_tag
repository: ${{ env.image_base_tag }}
stages: base, external_deps, hdf5, moab, dagmc
server-stage: dagmc_test
quiet: false
parallel: true
tag-latest-on-default: $tag-latest-on-default
tag-latest-on-default: ${{ env.tag-latest-on-default }}
dockerfile: CI/Dockerfile
build-args: UBUNTU_VERSION=${{ matrix.ubuntu_version }}, COMPILER=${{ matrix.compiler }}, HDF5_VERSION=${{ matrix.hdf5_version }}, MOAB_VERSION=${{ matrix.moab_version }}, GEANT4=$GEANT4, GEANT4_VERSION=${{ matrix.geant4_version }}, DOUBLE_DOWN=$DOUBLE_DOWN, DOUBLE_DOWN_VERSION=${{ matrix.double_down_version}}
build-args: UBUNTU_VERSION=${{ matrix.ubuntu_version }}, COMPILER=${{ matrix.compiler }}, HDF5_VERSION=${{ matrix.hdf5_version }}, MOAB_VERSION=${{ matrix.moab_version }}, GEANT4=${{ env.GEANT4 }}, GEANT4_VERSION=${{ matrix.geant4_version }}, DOUBLE_DOWN=${{ env.DOUBLE_DOWN }}, DOUBLE_DOWN_VERSION=${{ matrix.double_down_version}}


push_stable_ci_img:
Expand Down Expand Up @@ -143,12 +143,12 @@ jobs:
if: ${{ github.repository_owner == 'svalinn' && github.ref == 'refs/heads/develop' }}
uses: akhilerm/[email protected]
with:
src: $image_base_tag/dagmc:latest
dst: $image_base_tag:latest
src: ${{ env.image_base_tag }}/dagmc:latest
dst: ${{ env.image_base_tag }}:latest

- name: Push Image as latest img
if: ${{ github.repository_owner == 'svalinn' && github.ref == 'refs/heads/develop' }}
uses: akhilerm/[email protected]
with:
src: $image_base_tag:latest
dst: $image_base_tag:stable
src: ${{ env.image_base_tag }}:latest
dst: ${{ env.image_base_tag }}:stable

0 comments on commit 78c2ac2

Please sign in to comment.