Skip to content

Commit

Permalink
WIP: e2e docker workflow regstiry logins
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman committed Sep 16, 2024
1 parent 4ba4588 commit d9688b1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/e2e_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,22 @@ jobs:
run: |
./hack/ci-helper.sh rebase-atop-of-the-latest-target-branch
- name: Login to quay Container Registry
if: ${{ startsWith(inputs.podvm_image, 'quay.io') }}
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Login to the ghcr Container registry
if: ${{ startsWith(inputs.podvm_image, 'ghcr.io') }}
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Read properties from versions.yaml
run: |
sudo snap install yq
Expand Down

0 comments on commit d9688b1

Please sign in to comment.