Skip to content

Commit

Permalink
add uarch to docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpintarelli committed Aug 22, 2024
1 parent 9e04230 commit 744746a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/cscs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ stages:
- build aarch64
- build rpm aarch64

# dynamic name for sha on watched files, slurm version, uarch
.my-dynamic-image-name:
extends: [.dynamic-image-name]
before_script:
- DOCKER_TAG=`echo $(eval cat $WATCH_FILECHANGES; echo -n $slurm_version) | sha256sum | head -c 16`
- DOCKER_TAG=`echo $(eval cat $WATCH_FILECHANGES; echo -n $slurm_version) $(uname -m) | sha256sum | head -c 16`
- export PERSIST_IMAGE_NAME=$PERSIST_IMAGE_NAME:$DOCKER_TAG
- echo "BASE_IMAGE=$PERSIST_IMAGE_NAME" > build.env

Expand Down

0 comments on commit 744746a

Please sign in to comment.