Files
checkflow/.gitea/workflows/docker-build.yaml
T
Neru_Han 5ea3e6d611
Build and Push Docker Image / build-and-push (push) Failing after 1m7s
ci: configure automated docker build workflow via Gitea Actions
2026-08-21 15:50:32 +09:00

32 lines
714 B
YAML

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