From ef0aeb736b7ef72601d6bef012379962dfd3fd97 Mon Sep 17 00:00:00 2001 From: Jonathan Dowland Date: Thu, 30 Nov 2023 11:14:33 +0000 Subject: [PATCH] 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: https://github.com/openshift/source-to-image/issues/1134 Signed-off-by: Jonathan Dowland --- .github/workflows/image-workflow-template.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/image-workflow-template.yml b/.github/workflows/image-workflow-template.yml index 116a5d1f..f44c3321 100644 --- a/.github/workflows/image-workflow-template.yml +++ b/.github/workflows/image-workflow-template.yml @@ -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