Files
TinfoilVibeServer/.gitea/workflows/ci.yaml
T
ecenshu 35d4eccdfd
Build & Push Docker image / build-and-push (push) Failing after 1m46s
ci / build_linux (push) Failing after 1m32s
Remove demo
Correct the tags to align with Gitea Repo expected tags
2025-11-07 21:19:38 +10:30

29 lines
803 B
YAML

name: ci
on: [push, pull_request]
jobs:
build_linux:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
id: build
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
# do not push yet
push: false
tags: |
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.sha }}
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:${{ github.ref_name }}
${{ secrets.REGISTRY_HOST }}/${{ github.repository }}:latest
build-args: |
# Add any build args here
# ARG_NAME=VALUE