Files
mohomo-docker/.gitea/workflows/docker.yml
T
rogee 2c9ae4bbc4
Docker image (Gitea) / Test and build (push) Successful in 1m18s
HH-723: split Gitea and GitHub workflows (#12)
2026-08-27 10:06:31 +08:00

34 lines
679 B
YAML

name: Docker image (Gitea)
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Test and build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: false
- name: Run tests
run: ./scripts/test.sh
- name: Build and run container smoke test
run: ./tests/container-smoke.sh