name: Build Debian on: workflow_dispatch: jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: include: - name: debian:trixie dockerfile: debian/Dockerfile tags: gitea.starryskymeow.cn/cn/debian:trixie,gitea.starryskymeow.cn/cn/debian:latest - name: debian:bookworm dockerfile: debian/bookworm.Dockerfile tags: gitea.starryskymeow.cn/cn/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: registry: gitea.starryskymeow.cn username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push uses: https://gitea.starryskymeow.cn/mirrors/docker-build-push-action@v7 with: push: true platforms: linux/amd64,linux/arm64,linux/arm/v7 file: ${{ matrix.dockerfile }} tags: ${{ matrix.tags }}