Skip to content

Commit

Permalink
wip: testing registry auth
Browse files Browse the repository at this point in the history
Signed-off-by: Luiz Carvalho <[email protected]>
  • Loading branch information
lcarva committed Nov 27, 2024
1 parent 1d05afa commit 76b0c50
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .tekton/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ spec:
workspaces:
- name: workspace
tasks:
- name: test-registry-access
taskSpec:
steps:
- name: check-creds
image: registry.redhat.io/openshift4/ose-cli@sha256:73df37794ffff7de1101016c23dc623e4990810390ebdabcbbfa065214352c7c
script: |
#!/usr/bin/env bash
echo 'well that works...'
- name: skopeo
image: quay.io/containers/skopeo:latest
script: |
#!/usr/bin/env bash
set -euo pipefail
ls -la ~/.docker
skopeo inspect --authfile "${HOME}/.docker/config.json" --no-tags docker://registry.redhat.io/openshift4/ose-cli@sha256:73df37794ffff7de1101016c23dc623e4990810390ebdabcbbfa065214352c7c
exit 1
- name: fetch-repository
taskRef:
name: git-clone
Expand Down

0 comments on commit 76b0c50

Please sign in to comment.