Skip to content

Commit 53079f1

Browse files
committed
Remove docker credentials prior to tests/s2i
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 <[email protected]>
1 parent d7d81df commit 53079f1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/image-workflow-template.yml

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ jobs:
3333
github_pat: ${{ github.token }}
3434
s2i: "1.3.4"
3535

36+
# s2i misbehaves if registry credentials are present: tries and fails to query
37+
# image metadata from docker.io before each build, etc. See:
38+
# https://github.com/openshift/source-to-image/issues/1134
39+
- name: clear docker credentials
40+
run: docker logout
41+
3642
- name: Behave Tests
3743
run: |
3844
echo /home/runner/work/_temp/openshift-bin >> $GITHUB_PATH

0 commit comments

Comments
 (0)