Skip to content

Commit

Permalink
fix: add skopeo to vendored software
Browse files Browse the repository at this point in the history
github uses an old version of skopeo and we need an updated one for semver support
  • Loading branch information
Mossman1215 authored and MCorfy committed Sep 3, 2024
1 parent da61102 commit 34c7761
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,15 @@ jobs:
- name: dry run copy to ghcr.io
env:
GH_TOKEN: ${{ secrets.GH_CI_USER_TOKEN }}

run: |
skopeo sync --dry-run --all --src yaml --dest docker sync-ghcr.yml ghcr.io/geonet/base-images
podman run --env-host -v '${PWD}/src' -w /src quay.io/skopeo/stable:latest sync --dry-run --all --src yaml --dest docker sync-ghcr.yml ghcr.io/geonet/base-images
- name: copy to ghcr.io
env:
GH_TOKEN: ${{ secrets.GH_CI_USER_TOKEN }}
run: |
skopeo sync --all --keep-going --src yaml --dest docker sync-ghcr.yml ghcr.io/geonet/base-images
podman run --env-host -v '${PWD}/src' -w /src quay.io/skopeo/stable:latest sync --all --keep-going --src yaml --dest docker sync-ghcr.yml ghcr.io/geonet/base-images
if: github.ref_name == 'main'
- name: copy to ecr
run: |
skopeo sync --all --src yaml --dest docker sync-ecr.yml ${{ env.ecr }}
podman run --env-host -v '${PWD}/src' -w /src quay.io/skopeo/stable:latest sync --all --src yaml --dest docker sync-ecr.yml 862640294325.dkr.ecr.ap-southeast-2.amazonaws.com
if: github.ref_name == 'main'

0 comments on commit 34c7761

Please sign in to comment.