WIP: Use Gitea Actions to build Docker image #8

Draft
eric wants to merge 21 commits from develop into main
Showing only changes of commit 496477a05b - Show all commits

27
.gitea/workflows/ci.yaml Normal file
View File

@ -0,0 +1,27 @@
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: user/app:latest