ci: update

This commit is contained in:
divyam234 2024-02-09 20:52:41 +05:30
parent 88b361d521
commit c4eaa0bf0f
3 changed files with 4 additions and 16 deletions

View file

@ -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:

View file

@ -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"

View file

@ -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: