Skip to content

Commit

Permalink
Fix e2e push tests, these registries need --bare (ko-build#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored Jul 22, 2022
1 parent 47fa74e commit d71c0df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/registries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
go-version: 1.18
check-latest: true
- env:
QUAY_USERNAME: ko-testing
QUAY_USERNAME: ko-testing+test
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
KO_DOCKER_REPO: quay.io/ko-testing/test
run: |
echo ${QUAY_PASSWORD} | go run ./ login --username=${QUAY_USERNAME} --password-stdin quay.io
go run ./ build --platform=all ./test/
go run ./ build --platform=all ./test/ --sbom=none --bare
dockerhub:
name: Push to dockerhub
Expand All @@ -42,4 +42,4 @@ jobs:
KO_DOCKER_REPO: kotesting/test
run: |
echo ${DOCKERHUB_PASSWORD} | go run ./ login --username=${DOCKERHUB_USERNAME} --password-stdin index.docker.io
go run ./ build --platform=all ./test/
go run ./ build --platform=all ./test/ --bare

0 comments on commit d71c0df

Please sign in to comment.