chore: actions
Some checks failed
Build and Deploy / build-and-push (push) Failing after 48s

This commit is contained in:
2025-02-06 19:14:23 +06:00
parent e050407194
commit 7afcc2aac7

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

@@ -0,0 +1,27 @@
name: Build and Deploy
on:
push:
branches: [master]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker login
uses: docker/login-action@v2
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: |
${{ secrets.REGISTRY_URL }}/${{ vars.GITEA_REPOSITORY }}:${{ github.sha }}
${{ secrets.REGISTRY_URL }}/${{ vars.GITEA_REPOSITORY }}:latest