Skip to content

Docker: fix entrypoint for 10.5 image #4

Docker: fix entrypoint for 10.5 image

Docker: fix entrypoint for 10.5 image #4

Workflow file for this run

name: Docker
on:
push:
branches: [master]
jobs:
docker:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- version: "mariadb-10-2"
- version: "mariadb-10-4"
- version: "mariadb-10-5"
fail-fast: false
name: Docker (dockette/dbdump:${{ matrix.version }})
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}-${{ matrix.version }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ${{ matrix.version }}
push: true
tags: dockette/dbdump:${{ matrix.version }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64,linux/arm64