Skip to content

Commit

Permalink
chore: switch to centos:stream10 builder and add labels to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 5, 2025
1 parent 27b90ae commit 035b7d5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
IMAGE_NAME: "main" # the name of the image produced by this build, matches repo names
IMAGE_NAME: "rs-main-test" # the name of the image produced by this build, matches repo names
IMAGE_DESC: "CentOS Stream-based image for basing off of "
IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}"
DEFAULT_TAG: "latest"
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
needs: generate_matrix
timeout-minutes: 30
container:
image: redhat/ubi9:latest
image: quay.io/centos/centos:stream10
options: --privileged
strategy:
fail-fast: false
Expand Down Expand Up @@ -277,6 +277,11 @@ jobs:
podman manifest add $MANIFEST ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}@$digest --arch $platform
done
# Apply the labels to the manifest
for label in $(echo $LABELS | tr ' ' '\n'); do
podman manifest annotate --index --annotation=$label $MANIFEST
done
- name: Login to GHCR
uses: docker/login-action@v3
with:
Expand Down

0 comments on commit 035b7d5

Please sign in to comment.