Files
veilamp-server-docker/.gitea/workflows/docker-publish.yml
T
Glyphscribe Ety 24487c738a
Build and Publish Docker Image / docker (push) Successful in 24s
add container workflow
2026-10-25 16:22:20 -05:00

41 lines
997 B
YAML

name: Build and Publish Docker Image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
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 registry
uses: docker/login-action@v3
with:
registry: code.mch.onl
username: ety
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
no-cache: true
platforms: linux/amd64
tags: |
code.mch.onl/ety/veilamp-server:latest
code.mch.onl/ety/veilamp-server:sha-${{ github.sha }}
labels: |
org.opencontainers.image.source=https://code.mch.onl/ety/veilamp-server-docker
org.opencontainers.image.revision=${{ github.sha }}