diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index b66dee4..29d1ba8 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -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: diff --git a/.goreleaser.dev.yml b/.goreleaser.dev.yml index 915007d..0b601a3 100644 --- a/.goreleaser.dev.yml +++ b/.goreleaser.dev.yml @@ -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" diff --git a/.goreleaser.yml b/.goreleaser.yml index 4aeeb99..e92909f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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: