Skip to content

Fix build and push GitHub Action #8

Fix build and push GitHub Action

Fix build and push GitHub Action #8

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: ${{ REGISTRY_LOGIN }}

Check failure on line 17 in .github/workflows/build-and-push.yml

View workflow run for this annotation

GitHub Actions / Build and push to quay.io registry

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-push.yml (Line: 17, Col: 30): Unrecognized named-value: 'REGISTRY_LOGIN'. Located at position 1 within expression: REGISTRY_LOGIN .github/workflows/build-and-push.yml (Line: 18, Col: 27): Unrecognized named-value: 'REGISTRY_TOKEN'. Located at position 1 within expression: REGISTRY_TOKEN
registry_token: ${{ REGISTRY_TOKEN }}
dockerfile: "containers/hub.Containerfile"
docker_context: "containers"
image_name: "ocp"
tag: "staging"