Skip to content

Commit

Permalink
Fix build and push GitHub Action
Browse files Browse the repository at this point in the history
Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Feb 16, 2024
1 parent d4828f3 commit 869c2c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
name: Build and push to quay.io registry
on:
push:
pull_request:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-20.04
steps:
- name: Build and push to quay.io registry
uses: sclorg/build-and-push-action@v2
uses: sclorg/build-and-push-action@v4
with:
registry: "quay.io"
registry_namespace: "openscanhub-fedora-infra"
registry_username: ${{ secrets.REGISTRY_LOGIN }}
registry_token: ${{ secrets.REGISTRY_TOKEN }}
dockerfile: "containers/hub.Containerfile"
docker_context: "containers"
image_name: "ocp"
tag: "staging"

0 comments on commit 869c2c1

Please sign in to comment.