Skip to content

Fix build and push GitHub Action #5

Fix build and push GitHub Action

Fix build and push GitHub Action #5

Workflow file for this run

# https://github.com/sclorg/build-and-push-action
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@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"