
Some checks failed
Build Docker images / docker (eumau/debian, , bookworm) (push) Failing after 5m24s
Build Docker images / docker (eumau/debian, , buster) (push) Has been cancelled
Build Docker images / docker (eumau/debian, -slim, bookworm) (push) Has been cancelled
Build Docker images / docker (eumau/debian, -slim, bullseye) (push) Has been cancelled
Build Docker images / docker (eumau/debian, -slim, buster) (push) Has been cancelled
Build Docker images / docker (eumau/debian, , bullseye) (push) Has been cancelled
44 lines
963 B
YAML
44 lines
963 B
YAML
name: Build Docker images
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
repo:
|
|
- eumau/debian
|
|
version:
|
|
- buster
|
|
- bullseye
|
|
- bookworm
|
|
variant:
|
|
- ""
|
|
- -slim
|
|
steps:
|
|
-
|
|
name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
-
|
|
name: Login to Docker Hub
|
|
uses: docker/login-action@v3
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
-
|
|
name: Build and push image
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
push: true
|
|
tags: ${{ matrix.repo }}:${{ matrix.version }}${{ matrix.variant }}
|
|
platforms: linux/amd64,linux/arm64
|