This commit is contained in:
Nite07 2024-11-20 22:59:03 +08:00
parent 8138c0df63
commit 26e46bdf53
3 changed files with 6 additions and 9 deletions

View File

@ -18,7 +18,6 @@ jobs:
with:
images: |
nite07/live-streamer
ghcr.io/nitezs/live-streamer
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
@ -36,13 +35,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:

View File

@ -17,6 +17,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "stable"
- name: Install UPX
uses: crazy-max/ghaction-upx@v3
@ -30,4 +32,4 @@ jobs:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITEA_TOKEN: ${{ secrets.TOKEN }}

View File

@ -29,3 +29,6 @@ release:
upx:
- enabled: true
compress: best
gitea_urls:
api: https://git.nite07.com/api/v1
download: https://git.nite07.com