Files
portal-inventory/.gitea/workflows/docker-build.yml
T
ypratama 2f37a06c58
Build and Push Docker Image / build-and-push (push) Failing after 3m15s
Update .gitea/workflows/docker-build.yml
2026-08-12 16:11:35 +07:00

28 lines
624 B
YAML

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: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_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