Bump common from 1e271d8
to 008d6ea
#191
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push images to Quay.io registry | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: '0 1 * * 3' | |
jobs: | |
build-and-push: | |
if: github.repository_owner == 'sclorg' | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- dockerfile: "5.32/Dockerfile.c9s" | |
docker_context: "5.32" | |
registry_namespace: "sclorg" | |
tag: "c9s" | |
image_name: "perl-532-c9s" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
- dockerfile: "5.40/Dockerfile.c10s" | |
docker_context: "5.40" | |
registry_namespace: "sclorg" | |
tag: "c10s" | |
image_name: "perl-540-c10s" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
- dockerfile: "5.36/Dockerfile.fedora" | |
docker_context: "5.36" | |
registry_namespace: "fedora" | |
tag: "5.36" | |
image_name: "perl-536" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
- dockerfile: "5.38/Dockerfile.fedora" | |
docker_context: "5.38" | |
registry_namespace: "fedora" | |
tag: "5.38" | |
image_name: "perl-538" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
- dockerfile: "5.40/Dockerfile.fedora" | |
docker_context: "5.40" | |
registry_namespace: "fedora" | |
tag: "5.40" | |
image_name: "perl-540" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
- dockerfile: "5.40/Dockerfile.c10s" | |
docker_context: "5.40" | |
registry_namespace: "sclorg" | |
tag: "c10s" | |
image_name: "perl-540-c10s" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
steps: | |
- name: Build and push to quay.io registry | |
uses: sclorg/build-and-push-action@v4 | |
with: | |
registry: "quay.io" | |
registry_namespace: ${{ matrix.registry_namespace }} | |
registry_username: ${{ secrets[matrix.quayio_username] }} | |
registry_token: ${{ secrets[matrix.quayio_token] }} | |
dockerfile: ${{ matrix.dockerfile }} | |
docker_context: ${{ matrix.docker_context }} | |
tag: ${{ matrix.tag }} | |
image_name: ${{ matrix.image_name }} | |
readme: "${{ matrix.docker_context }}/README.md" | |
quay_application_token: ${{ secrets.QUAY_IMAGE_SCLORG_UPDATE_DESC }} |