Add stage to push to quay.io.

This commit is contained in:
2024-08-28 09:45:23 +12:00
parent 6e72cb6f4d
commit 8fd5f3f68f

View File

@ -6,7 +6,8 @@ permissions:
jobs: jobs:
build-image: build-and-push-image:
name: Build and push image
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -21,8 +22,15 @@ jobs:
containerfiles: | containerfiles: |
./2024-08-28-rhacs-actions-pipeline/Containerfile ./2024-08-28-rhacs-actions-pipeline/Containerfile
# push-image: - name: Push to quay.io
# runs-on: ubuntu-latest uses: redhat-actions/push-to-registry@v2
with:
image: ubi9
tags: v0.0.1
registry: quay.io/rh_ee_jablair
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
# scan-image: # scan-image:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest