gitea workflow
This commit is contained in:
25
.gitea/workflows/build.yaml
Normal file
25
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
jobs:
|
||||||
|
image_build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Docker buildx setup
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Gitea OCI repo login
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: gitea.tymur999.com
|
||||||
|
username: tymur999
|
||||||
|
password: ${{ secrets.OCI_REPO_KEY }}
|
||||||
|
|
||||||
|
- name: Build and push rqbit
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: |
|
||||||
|
gitea.tymur999.com/tymur999/blog:latest
|
||||||
|
gitea.tymur999.com/tymur999/blog:nightly
|
||||||
|
gitea.tymur999.com/tymur999/blog:${{ github.sha }}
|
||||||
Reference in New Issue
Block a user