workflow
All checks were successful
docker / prepare-and-build (push) Successful in 2m16s

This commit is contained in:
Nite07 2024-11-20 20:26:44 +08:00
parent 7d4e7bc468
commit 2e11a13979
2 changed files with 1 additions and 36 deletions

View File

@ -34,7 +34,7 @@ jobs:
with:
registry: git.nite07.com
username: ${{ github.repository_owner }}
password: ${{ secrets.GITEA_TOKEN }}
password: ${{ secrets.TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5

View File

@ -1,35 +0,0 @@
name: release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "stable"
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
with:
install-only: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}