Skip to content

Commit

Permalink
fix: env in skopeo copy
Browse files Browse the repository at this point in the history
  • Loading branch information
StinkyBenji committed Nov 1, 2023
1 parent b24b88a commit 1433b55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .tekton/tasks/skopeo-copy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: HOME
value: /tekton/home
- name: REGISTRY_AUTH_FILE
value: $HOME/.docker/config.json
value: /tekton/home/.docker/config.json
securityContext:
runAsNonRoot: true
runAsUser: 65532
Expand All @@ -48,5 +48,5 @@ spec:
script: |
#!/bin/sh
set -x
skopeo copy --src-tls-verify="$(params.srcTLSverify)" --dest-tls-verify="$(params.destTLSverify)" $(params.srcImageURL)
$(params.destImageURL)
skopeo copy --src-tls-verify="$(params.srcTLSverify)" --dest-tls-verify="$(params.destTLSverify)" $(params.srcImageURL) $(params.destImageURL)

0 comments on commit 1433b55

Please sign in to comment.