Files
mandelmapper/.gitea/workflows/mandelmapper.yaml
Steven Polley a8b0fa4125
All checks were successful
mandelmapper / build (push) Successful in 38s
don't cache docker build
2025-12-13 19:47:31 -07:00

40 lines
804 B
YAML

name: mandelmapper
on:
push:
branches:
- main
- master
schedule:
- cron: "0 0 * * 5"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.x"
cache: true # enables Go module + build caching automatically
- name: Build server
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
run: |
go version
go build -a -ldflags "-w"
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: registry.stevenpolley.net/mandelmapper:latest
no-cache: true