workflow
This commit is contained in:
parent
8138c0df63
commit
26e46bdf53
8
.github/workflows/docker.yml
vendored
8
.github/workflows/docker.yml
vendored
@ -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:
|
||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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 }}
|
||||
|
@ -29,3 +29,6 @@ release:
|
||||
upx:
|
||||
- enabled: true
|
||||
compress: best
|
||||
gitea_urls:
|
||||
api: https://git.nite07.com/api/v1
|
||||
download: https://git.nite07.com
|
||||
|
Loading…
Reference in New Issue
Block a user