Skip to content

Commit

Permalink
podvm on pull
Browse files Browse the repository at this point in the history
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
  • Loading branch information
wainersm committed Sep 8, 2023
1 parent 4fba4bc commit 70a8364
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/podvm_builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker container Registry
uses: docker/login-action@v2
with:
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
#- name: Login to Docker container Registry
# uses: docker/login-action@v2
# with:
# registry: docker.io
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to Quay container Registry
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
#- name: Login to Quay container Registry
# uses: docker/login-action@v2
# with:
# registry: quay.io
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_PASSWORD }}

- name: Determine image tags
run: |
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/podvm_on_pull.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: podvm_on_pull
on:
pull_request:

jobs:
podvm_builder:
uses: ./.github/workflows/podvm_builder.yaml
with:
registry: ghcr.io/${{ github.repository_owner }}
secrets: inherit
podvm_binaries:
needs: [podvm_builder]
uses: ./.github/workflows/podvm_builder.yaml
with:
registry: ghcr.io/${{ github.repository_owner }}
builder_img_tag: ci-pr${{ github.event.number }}
secrets: inherit

0 comments on commit 70a8364

Please sign in to comment.