Bump common from ddaeff0
to 0a46964
#170
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: "10.11/Dockerfile.c9s" | |
registry_namespace: "sclorg" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
tag: "c9s" | |
image_name: "mariadb-1011-c9s" | |
- dockerfile: "10.11/Dockerfile.c8s" | |
registry_namespace: "sclorg" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
tag: "c8s" | |
image_name: "mariadb-1011-c8s" | |
- dockerfile: "10.5/Dockerfile.c9s" | |
registry_namespace: "sclorg" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
tag: "c9s" | |
image_name: "mariadb-105-c9s" | |
- dockerfile: "10.5/Dockerfile.c8s" | |
registry_namespace: "sclorg" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
tag: "c8s" | |
image_name: "mariadb-105-c8s" | |
- dockerfile: "10.3/Dockerfile.c8s" | |
registry_namespace: "sclorg" | |
quayio_username: "QUAY_IMAGE_SCLORG_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_SCLORG_BUILDER_TOKEN" | |
tag: "c8s" | |
image_name: "mariadb-103-c8s" | |
- dockerfile: "10.5/Dockerfile.fedora" | |
registry_namespace: "fedora" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
tag: "fedora" | |
image_name: "mariadb-105" | |
- dockerfile: "10.11/Dockerfile.fedora" | |
registry_namespace: "fedora" | |
quayio_username: "QUAY_IMAGE_FEDORA_BUILDER_USERNAME" | |
quayio_token: "QUAY_IMAGE_FEDORA_BUILDER_TOKEN" | |
tag: "fedora" | |
image_name: "mariadb-1011" | |
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 }} | |
tag: ${{ matrix.tag }} | |
image_name: ${{ matrix.image_name }} |