
All checks were successful
Build Docker image / docker (, bookworm) (push) Successful in 24s
Build Docker image / docker (, bullseye) (push) Successful in 23s
Build Docker image / docker (, buster) (push) Successful in 23s
Build Docker image / docker (-slim, bookworm) (push) Successful in 23s
Build Docker image / docker (-slim, bullseye) (push) Successful in 22s
Build Docker image / docker (-slim, buster) (push) Successful in 21s
41 lines
889 B
YAML
41 lines
889 B
YAML
name: Build Docker image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
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
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
push: true
|
|
tags: eumau/debian:${{ matrix.version }}${{ matrix.variant }}
|
|
platforms: linux/amd64,linux/arm64
|