push ci
This commit is contained in:
28
.gitea/gitea-ci.yml
Normal file
28
.gitea/gitea-ci.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Build and push image
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Login to Gitea
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: lab.5b5.eu
|
||||
username: ${{ vars.PACKAGE_USERNAME }}
|
||||
password: ${{ secrets.PACKAGE_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
|
||||
Reference in New Issue
Block a user