From 417aa94564f114c09e24a13ee03840ba785cc030 Mon Sep 17 00:00:00 2001 From: dyrnq Date: Fri, 4 Oct 2024 11:17:57 +0800 Subject: [PATCH] reverse --format v2s2 --- .github/workflows/sync-kube.yml | 7 ++++++- .github/workflows/sync.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-kube.yml b/.github/workflows/sync-kube.yml index 4ad67ce..ccf7141 100644 --- a/.github/workflows/sync-kube.yml +++ b/.github/workflows/sync-kube.yml @@ -110,6 +110,11 @@ jobs: sudo curl -# -fSL https://github.com/dyrnq/skopeo-binary/releases/download/${SKOPEO_VER}/skopeo.tar.xz | sudo tar -xvJ -C /usr/bin sudo chmod +x /usr/bin/skopeo skopeo -v && skopeo --help + - name: Install regctl + run: | + sudo curl -# -fSL -o /usr/local/bin/regctl https://github.com/regclient/regclient/releases/download/v0.7.1/regctl-linux-amd64 + sudo chmod +x /usr/local/bin/regctl + regctl version - name: Images sync env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -124,4 +129,4 @@ jobs: cat < ${sync_tmp} - skopeo --insecure-policy sync --format v2s2 --keep-going --src yaml --all --dest-creds $DOCKER_USERNAME:$DOCKER_PASSWORD --dest docker ${sync_tmp} docker.io/dyrnq \ No newline at end of file + skopeo --insecure-policy sync --keep-going --src yaml --all --dest-creds $DOCKER_USERNAME:$DOCKER_PASSWORD --dest docker ${sync_tmp} docker.io/dyrnq \ No newline at end of file diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 33ca08e..41bd96b 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -158,6 +158,11 @@ jobs: sudo curl -# -fSL https://github.com/dyrnq/skopeo-binary/releases/download/${SKOPEO_VER}/skopeo.tar.xz | sudo tar -xvJ -C /usr/bin sudo chmod +x /usr/bin/skopeo skopeo -v && skopeo --help + - name: Install regctl + run: | + sudo curl -# -fSL -o /usr/local/bin/regctl https://github.com/regclient/regclient/releases/download/v0.7.1/regctl-linux-amd64 + sudo chmod +x /usr/local/bin/regctl + regctl version - name: Images sync env: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -172,4 +177,4 @@ jobs: cat < ${sync_tmp} - skopeo --insecure-policy sync --format v2s2 --keep-going --src yaml --all --dest-creds $DOCKER_USERNAME:$DOCKER_PASSWORD --dest docker ${sync_tmp} docker.io/dyrnq \ No newline at end of file + skopeo --insecure-policy sync --keep-going --src yaml --all --dest-creds $DOCKER_USERNAME:$DOCKER_PASSWORD --dest docker ${sync_tmp} docker.io/dyrnq \ No newline at end of file