fix dockerfile, add build CI, deploy example
Docker server image / build-and-push (push) Failing after 1m18s

This commit is contained in:
2026-03-27 15:19:30 -07:00
parent 09d38edc43
commit 60cf8c231c
4 changed files with 112 additions and 2 deletions
+38
View File
@@ -0,0 +1,38 @@
name: Docker server image
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
permissions:
contents: read
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to Gitea container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: gitea.auvem.com
username: ${{ secrets.GITEA_REGISTRY_USER }}
password: ${{ secrets.GITEA_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
file: Dockerfile.server
push: ${{ github.event_name != 'pull_request' }}
tags: |
gitea.auvem.com/end-internal/officeconvert-server:${{ github.sha }}
gitea.auvem.com/end-internal/officeconvert-server:latest