Restore Gitea Actions CI/CD pipeline

This commit is contained in:
ypratama committed 2026-08-12 15:29:41 +07:00
1 parent 1b55beff8f
commit e4eab7397c
1 file changed
+27
+27
View File
@@ -0,0 +1,27 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to Gitea Container Registry
uses: docker/login-action@v2
with:
registry: git.proit.id
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: git.proit.id/ypratama/portal-inventory:latest