Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika committed Jun 7, 2024
1 parent d64d725 commit f8f7bb4
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/scripts/build_container_images_wave.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
#!/bin/bash

mkdir -p apptainer-build
pushd apptainer-build > /dev/null
mkdir -p artifacts

for env_yaml in ../environments/*.yml; do
image_name=$(head -n 1 $env_yaml | cut -d ' ' -f 2)
echo "building image ${image_name} from file ${env_yaml}..."
wave \
--build-repo ghcr.io/bccdc-phl \
--cache-repo ghcr.io/bccdc-phl \
--conda-file ${env_yaml} \
--singularity \
--freeze \
--await \
--output json \
| python -m json.tool \
| tee ${image_name}.json
echo "done building image ${image_name}"
| tee ${image_name}.json
echo "done building image ${image_name}"
cp ${image_name}.json artifacts/

done


0 comments on commit f8f7bb4

Please sign in to comment.