File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
.github/actions/copy-image Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ runs:
4646 LATEST : ${{ inputs.latest }}
4747 run : |
4848 digest=$(cat ${COMPONENT}-digest.txt)
49- src=docker:// ghcr.io/matheuscscp/gke-metadata-server/${SOURCE_REPOSITORY}@${digest}
50- dst=docker:// ghcr.io/matheuscscp/${TARGET_REPOSITORY}@${digest}
51- skopeo copy $src $dst
52- skopeo copy $dst docker://ghcr.io/matheuscscp/${TARGET_REPOSITORY}:$(yq .${COMPONENT} versions.yaml)
49+ src=ghcr.io/matheuscscp/gke-metadata-server/${SOURCE_REPOSITORY}@${digest}
50+ dst=ghcr.io/matheuscscp/${TARGET_REPOSITORY}@${digest}
51+ skopeo copy docker:// $src docker:// $dst
52+ skopeo copy docker:// $dst docker://ghcr.io/matheuscscp/${TARGET_REPOSITORY}:$(yq .${COMPONENT} versions.yaml)
5353 if [ "$LATEST" != "skip" ]; then
54- skopeo copy $dst docker://ghcr.io/matheuscscp/${TARGET_REPOSITORY}:latest
54+ skopeo copy docker:// $dst docker://ghcr.io/matheuscscp/${TARGET_REPOSITORY}:latest
5555 fi
5656 echo "image-with-digest=$dst" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments