mirror of
https://gitlab.com/fedora/bootc/base-images.git
synced 2026-08-30 04:50:46 +00:00
Red Hat Trusted App Pipeline update fedora-bootc
This commit is contained in:
parent
0bf786e48b
commit
ebeeaa0184
6 changed files with 35 additions and 39 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
|
@ -5,14 +5,14 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
build-image:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: quay.io/centos-boot/builder:latest@sha256:c57f2d2e9672baaddf501ee91c799903517c4b6ee38fd2dbd6e98171fd1c180c
|
||||
image: quay.io/centos-boot/builder:latest
|
||||
options: --privileged
|
||||
|
||||
strategy:
|
||||
|
|
@ -20,10 +20,8 @@ jobs:
|
|||
os: [fedora, centos]
|
||||
tier: [tier-1]
|
||||
include:
|
||||
- os: fedora
|
||||
version: eln
|
||||
- os: centos
|
||||
version: stream9
|
||||
- os: fedora
|
||||
- os: centos
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -38,5 +36,4 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
rpm-ostree compose image --format=ociarchive \
|
||||
--initialize ${{ matrix.os }}-${{ matrix.tier }}${{ matrix.variant }}-${{ matrix.version }}.yaml \
|
||||
dest.oci-archive
|
||||
--initialize ${{ matrix.os }}-bootc.yaml dest.oci-archive
|
||||
|
|
|
|||
20
.github/workflows/publish-image.yml
vendored
20
.github/workflows/publish-image.yml
vendored
|
|
@ -5,32 +5,30 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- "docs/**"
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
REGISTRY: quay.io
|
||||
QUAY_ORG: centos-boot
|
||||
QUAY_ORG: centos-bootc
|
||||
|
||||
jobs:
|
||||
|
||||
build-and-push-image:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
container:
|
||||
image: quay.io/centos-boot/builder:latest@sha256:c57f2d2e9672baaddf501ee91c799903517c4b6ee38fd2dbd6e98171fd1c180c
|
||||
image: quay.io/centos-boot/builder:latest
|
||||
options: --privileged
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [fedora, centos]
|
||||
tier: [tier-1]
|
||||
include:
|
||||
- os: fedora
|
||||
version: eln
|
||||
- os: centos
|
||||
version: stream9
|
||||
- os: fedora
|
||||
version: eln
|
||||
- os: centos
|
||||
version: stream9
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
|
@ -48,5 +46,5 @@ jobs:
|
|||
echo "${{ secrets.QUAY_PASSWORD }}" | skopeo login -u "${{ secrets.QUAY_USER }}" \
|
||||
--password-stdin ${{ env.REGISTRY }}
|
||||
rpm-ostree compose image --initialize-mode if-not-exists \
|
||||
--format=registry ${{ matrix.os }}-${{ matrix.tier }}-${{ matrix.version }}.yaml \
|
||||
${{ env.REGISTRY }}/${{ env.QUAY_ORG }}/${{ matrix.os }}-${{ matrix.tier}}:${{ matrix.version }}
|
||||
--format=registry ${{ matrix.os }}-bootc.yaml \
|
||||
${{ env.REGISTRY }}/${{ env.QUAY_ORG }}/${{ matrix.os }}-bootc:${{ matrix.version }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue