name: Build Debian on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - name: debian:latest dockerfile: debian/Dockerfile tag: debian:latest - name: debian-trixie dockerfile: debian/Dockerfile tag: debian:trixie - name: debian:bookworm dockerfile: debian/bookworm.Dockerfile tag: debian:bookworm name: Build ${{ matrix.name }} steps: - name: Checkout uses: https://gitea.starryskymeow.cn/mirrors/checkout@v6 - name: Log in to Docker Hub uses: https://gitea.starryskymeow.cn/mirrors/docker-login-action@v4 with: username: ${{ vars.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push run: | docker build --push \ --platform=linux/amd64,linux/arm64 \ -f ${{ matrix.dockerfile }} \ -t ${{ vars.DOCKER_USERNAME }}/${{ matrix.tag }} \ .