Skip to content

Commit

Permalink
Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 20, 2023
1 parent 900cfbc commit cd3126c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/apptainer-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build Container
run: |
echo "Disk space before:" && df -h
cont_name=$(echo "${GITHUB_REF_NAME:-}" | sed -E 's/^sif-//; s/-v[0-9]+[.].*$//')
cont_name=$(echo "${GITHUB_REF_NAME:-}" | sed -E 's/^sif-//; s/-.*$//')
echo "Container name is $cont_name."
[ -d "${cont_name:-}" ] || exit 1
pushd "${cont_name}"
Expand Down

0 comments on commit cd3126c

Please sign in to comment.