Skip to content

Commit ed46e1e

Browse files
committed
Clean up action
1 parent 59e8ded commit ed46e1e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/docker-publish.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,13 @@ jobs:
9292
# against the sigstore community Fulcio instance.
9393
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
9494

95-
- name: Clean up disk space
96-
uses: jlumbroso/free-disk-space@main
95+
# Build and push .sif files for Apptainer
9796
- name: Setup Apptainer
9897
uses: eWaterCycle/setup-apptainer@v2
9998
- name: Build and push Apptainer
10099
env:
101100
TAGS: ${{ steps.meta.outputs.tags }}
102101
run: |
103-
echo ${{ secrets.GITHUB_TOKEN }} | apptainer remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin docker://ghcr.io
102+
echo ${{ secrets.GITHUB_TOKEN }} | apptainer registry login -u ${{ secrets.GHCR_USERNAME }} --password-stdin docker://ghcr.io
104103
apptainer build container.sif docker://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
105104
echo "${TAGS}" | xargs -I {} apptainer push container.sif oras://{}-sif

0 commit comments

Comments
 (0)