This commit is contained in:
AI Assistant
2026-03-12 14:06:24 +09:00
parent 8beb4bac17
commit b9940fa4d2
8 changed files with 0 additions and 898 deletions

View File

@@ -1,41 +0,0 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
tags:
- 'v*'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Log in to Gitea Container Registry
uses: docker/login-action@v2
with:
registry: git.savethenurse.com
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: git.savethenurse.com/savethenurse/ai-media-hub
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}