Fettling.
This commit is contained in:
parent
a8cae1652d
commit
c842814b51
1 changed files with 39 additions and 17 deletions
56
.github/workflows/build.yml
vendored
56
.github/workflows/build.yml
vendored
|
|
@ -18,32 +18,54 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
mariadb-build:
|
||||||
name: "Build MariaDB"
|
name: "Build"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
version:
|
||||||
|
- latest
|
||||||
|
- 11
|
||||||
|
- 11.2
|
||||||
|
- 11.1
|
||||||
|
- 11.0
|
||||||
|
- 10
|
||||||
|
- 10.11
|
||||||
|
- "10.10"
|
||||||
|
- 10.6
|
||||||
|
- 10.5
|
||||||
|
- 10.4
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v4
|
||||||
- uses: docker/setup-qemu-action@v1
|
|
||||||
name: Setup QEmu
|
- uses: docker/setup-qemu-action@v3
|
||||||
- uses: docker/setup-buildx-action@v1
|
|
||||||
name: Setup Docker Buildx
|
- uses: docker/setup-buildx-action@v2
|
||||||
- uses: docker/login-action@v1
|
|
||||||
name: Login to Docker Hub
|
- name: "Setup: Login to Docker Hub"
|
||||||
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: matthewbaggett
|
username: matthewbaggett
|
||||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||||
- uses: docker/login-action@v1
|
|
||||||
name: Login to Github Container Registry
|
- name: "Setup: Login to GHCR"
|
||||||
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: matthewbaggett
|
username: matthewbaggett
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: docker/build-push-action@v2
|
|
||||||
|
- uses: docker/build-push-action@v5
|
||||||
name: Build & Push
|
name: Build & Push
|
||||||
with:
|
with:
|
||||||
context: .
|
context: mariadb
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: ${{ env.ACT && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
|
||||||
|
pull: true
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
benzine/mariadb
|
benzine/mariadb:${{ matrix.version }}
|
||||||
ghcr.io/benzine-framework/docker-mariadb
|
ghcr.io/benzine-framework/mariadb:${{ matrix.version }}
|
||||||
|
build-contexts: |
|
||||||
|
mariadb:injected-version=docker-image://mariadb:${{ matrix.version }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue