Skip to content

Commit

Permalink
Support build and push 22, and 22-minimal images to quay.io.
Browse files Browse the repository at this point in the history
The commit builds and push as Fedora, as CentOS Stream 10 images

Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Oct 1, 2024
1 parent 4e2ef5a commit e175ddf
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ jobs:
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN"

- dockerfile: "22/Dockerfile.c10s"
docker_context: 22
registry_namespace: "sclorg"
tag: "c10s"
image_name: "nodejs-22-c10s"
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN"

- dockerfile: "22-minimal/Dockerfile.c10s"
docker_context: 22-minimal
registry_namespace: "sclorg"
tag: "c10s"
image_name: "nodejs-22-minimal-c10s"
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN"

- dockerfile: "18/Dockerfile.fedora"
docker_context: 18
registry_namespace: "fedora"
Expand Down Expand Up @@ -61,6 +77,23 @@ jobs:
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN"
image_name: "nodejs-20-minimal"

- dockerfile: "22/Dockerfile.fedora"
docker_context: 22
registry_namespace: "fedora"
tag: "fedora"
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN"
image_name: "nodejs-22"

- dockerfile: "22-minimal/Dockerfile.fedora"
docker_context: 22-minimal
registry_namespace: "fedora"
tag: "fedora"
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME"
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN"
image_name: "nodejs-22-minimal"

steps:
- name: Build and push to quay.io registry
uses: sclorg/build-and-push-action@v4
Expand Down

0 comments on commit e175ddf

Please sign in to comment.