Files
portal-inventory/.gitea/workflows/docker-build.yml
T
ypratama 570dfe9722
Build and Push Docker Image / build-and-push (push) Failing after 4m1s
Setup Gitea Actions CI/CD pipeline
2026-08-12 14:42:20 +07:00

28 lines
623 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: ${{ 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