Start new talk for rhacs roxctl.

This commit is contained in:
2024-08-28 09:32:14 +12:00
parent f207178791
commit 52c421c1dc
4 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,39 @@
---
name: Secure image build
on: workflow_dispatch
permissions:
contents: read
jobs:
build-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build image
uses: redhat-actions/buildah-build@v2
with:
image: quay.io/rh_ee_jablair/ubi9:latest
tags: v1 ${{ github.sha }}
containerfiles: |
./2024-08-28-rhacs-actions-pipeline/Containerfile
# push-image:
# runs-on: ubuntu-latest
# scan-image:
# runs-on: ubuntu-latest
# steps:
# - name: Central login
# uses: stackrox/central-login@v1
# with:
# endpoint: ${{ env.CENTRAL_ENDPOINT }}
# - name: Install roxctl
# uses: stackrox/roxctl-installer-action@v1
# with:
# central-endpoint: ${{ env.CENTRAL_ENDPOINT }}
# central-token: ${{ env.ROX_API_TOKEN }}