diff --git a/.github/workflows/sync-images.yaml b/.github/workflows/sync-images.yaml index f04d9df..9307b0e 100644 --- a/.github/workflows/sync-images.yaml +++ b/.github/workflows/sync-images.yaml @@ -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