[DONOTMERGE] Check skopeo version (#210)

* Check skopeo version

* Switch to PR event for testing

* Use Skopeo container to get a more recent version

* Remove debugging statements
This commit is contained in:
Matt Pryor 2024-01-09 17:32:49 +00:00 committed by GitHub
parent 74949b6365
commit 06299db8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,17 +36,18 @@ jobs:
with:
ref: ${{ inputs.ref }}
- name: Install skopeo
run: sudo apt-get -y update && sudo apt-get install -y skopeo
# Just sync all the images in all the manifests to GitHub packages
- name: Sync component images
run: |-
skopeo sync \
--src yaml \
--dest docker \
--dest-creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
--scoped \
--all \
${{ matrix.manifest-file }} \
ghcr.io/stackhpc
podman run \
-v ./skopeo-manifests:/opt/skopeo-manifests \
-w /opt \
quay.io/skopeo/stable:latest \
sync \
--src yaml \
--dest docker \
--dest-creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} \
--scoped \
--all \
${{ matrix.manifest-file }} \
ghcr.io/stackhpc