mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-18 05:00:02 +08:00
ci: update
This commit is contained in:
parent
88b361d521
commit
c4eaa0bf0f
3 changed files with 4 additions and 16 deletions
9
.github/workflows/release-dev.yml
vendored
9
.github/workflows/release-dev.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: Goreleaser
|
||||
name: Goreleaser-Dev
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -26,13 +26,6 @@ jobs:
|
|||
with:
|
||||
version: 8
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
|
|
|
@ -19,12 +19,7 @@ builds:
|
|||
- windows
|
||||
goarch:
|
||||
- amd64
|
||||
dockers:
|
||||
- image_templates:
|
||||
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}"
|
||||
use: buildx
|
||||
dockerfile: goreleaser.Dockerfile
|
||||
|
||||
|
||||
checksum:
|
||||
name_template: "{{ .ProjectName }}_checksums.txt"
|
||||
|
||||
|
|
|
@ -39,8 +39,8 @@ dockers:
|
|||
- "ghcr.io/{{ .Env.GITHUB_ACTOR }}/{{ .ProjectName }}:{{ .Tag }}-amd64"
|
||||
use: buildx
|
||||
dockerfile: goreleaser.dockerfile
|
||||
skip_push: true
|
||||
build_flag_templates:
|
||||
- "--pull"
|
||||
- "--platform=linux/amd64"
|
||||
|
||||
- image_templates:
|
||||
|
@ -49,8 +49,8 @@ dockers:
|
|||
use: buildx
|
||||
dockerfile: goreleaser.dockerfile
|
||||
goarch: arm64
|
||||
skip_push: true
|
||||
build_flag_templates:
|
||||
- "--pull"
|
||||
- --platform=linux/arm64/v8
|
||||
|
||||
docker_manifests:
|
||||
|
|
Loading…
Reference in a new issue