Skip to content

Commit

Permalink
Fix upstream build and push CI job
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Necas <[email protected]>
  • Loading branch information
mnecas committed Jan 20, 2025
1 parent 9d052da commit fec7ce2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-push-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
- release-*
pull_request:
branches:
- main
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -36,7 +39,9 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}

- name: Build and push images to quay.io
run: |
cd ${GITHUB_WORKSPACE}
make push-all-images
- name: Build and push virt-v2v image to quay.io
uses: docker/build-push-action@v6
with:
file: "{context}/virt-v2v/Containerfile-upstream"
push: true
tags: mnecas0/forklift-virt-v2v:$REGISTRY_ORG
2 changes: 0 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand Down

0 comments on commit fec7ce2

Please sign in to comment.