[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:
parent
74949b6365
commit
06299db8a5
23
.github/workflows/sync-images.yaml
vendored
23
.github/workflows/sync-images.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user