ci(debian): add ci action
This commit is contained in:
27
.gitea/workflows/debian.yaml
Normal file
27
.gitea/workflows/debian.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Build Debian
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
debian-trixie:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: gitea.starryskymeow.cn/mirrors/checkout@v6
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: gitea.starryskymeow.cn/mirrors/setup-qemu-action@v4
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: 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 debian/Dockerfile \
|
||||
-t ${{ vars.DOCKER_USERNAME }}/debian:trixie \
|
||||
.
|
||||
Reference in New Issue
Block a user