Setup Gitea Actions CI/CD pipeline
Build and Push Docker Image / build-and-push (push) Failing after 4m1s

This commit is contained in:
ypratama committed 2026-08-12 14:42:20 +07:00
1 parent 2317f9f133
commit 570dfe9722
2 files changed
+28 -1

No files matched your search

+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
+1 -1
View File
@@ -21,7 +21,7 @@ services:
condition: on-failure condition: on-failure
inventory-app: inventory-app:
image: inventory-app:latest image: git.proit.id/ypratama/portal-inventory:latest
ports: ports:
- "3000:3000" - "3000:3000"
environment: environment: