diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index e6fed6d..43573e4 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -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 ghcr.io/geonet/base-images/stable:v1.16 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 ghcr.io/geonet/base-images/stable:v1.16 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 ghcr.io/geonet/base-images/stable:v1.16 sync --all --src yaml --dest docker sync-ecr.yml 862640294325.dkr.ecr.ap-southeast-2.amazonaws.com if: github.ref_name == 'main'