Files
cn-dockerfile/.gitea/workflows/debian.yaml

24 lines
583 B
YAML

name: Build Debian
on:
workflow_dispatch:
jobs:
debian-trixie:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Log in to Docker Hub
uses: 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 debian/Dockerfile \
-t ${{ vars.DOCKER_USERNAME }}/debian:trixie \
.