Files
safeline/.gitea/workflows/activate-server.yaml
2025-03-12 17:05:16 +08:00

29 lines
607 B
YAML

name: activate-server
on:
push:
branches:
- main
paths:
- activate/**/*
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- uses: ko-build/setup-ko@v0.8
- name: Run GoReleaser
env:
KO_DOCKER_REPO: git.yoshino-s.xyz/${{ gitea.repository }}
run: |
cd activate
ko build --bare --sbom spdx --tags latest