ci: configure automated docker build workflow via Gitea Actions
Build and Push Docker Image / build-and-push (push) Failing after 1m12s

This commit is contained in:
2026-08-21 15:50:32 +09:00
parent d64b3c72b7
commit 19c973298e
3 changed files with 48 additions and 7 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.nrh.kr
username: ${{ gitea.actor }}
password: ${{ secrets.CI_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: git.nrh.kr/${{ gitea.repository }}:latest