Skip to content

Commit

Permalink
Remove docker credentials prior to tests/s2i
Browse files Browse the repository at this point in the history
s2i misbehaves if registry credentials are present: tries and fails to query
image metadata from docker.io before each build, etc. See:
openshift/source-to-image#1134

Signed-off-by: Jonathan Dowland <jdowland@redhat.com>
  • Loading branch information
jmtd committed Jan 8, 2024
1 parent 1a2753a commit ef0aeb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/image-workflow-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
github_pat: ${{ github.token }}
s2i: "1.3.4"

# s2i misbehaves if registry credentials are present: tries and fails to query
# image metadata from docker.io before each build, etc. See:
# https://github.com/openshift/source-to-image/issues/1134
- name: clear docker credentials
run: docker logout

- name: Behave Tests
run: |
echo /home/runner/work/_temp/openshift-bin >> $GITHUB_PATH
Expand Down

0 comments on commit ef0aeb7

Please sign in to comment.