Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Jan 13, 2022
1 parent 15bb302 commit 6aa77f7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: release

on:
push:
tags:

jobs:
goreleaser:
uses: caarlos0/goreleaserfiles/.github/workflows/goreleaser.yml@main
with:
docker_username: caarlos0
secrets:
docker_password: ${{ secrets.DOCKER_PASSWORD }}
github_token: ${{ secrets.GH_PAT }}
18 changes: 6 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ scoop:
bucket:
owner: caarlos0
name: scoop-bucket
snapcrafts:
- name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
summary: asdasd
description: asdadasd
grade: stable
confinement: classic
# snapcrafts:
# - name_template: '{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
# summary: asdasd
# description: asdadasd
# grade: stable
# confinement: classic

publishers:
- name: fury.io
Expand All @@ -59,7 +59,6 @@ dockers:
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
dockerfile: Dockerfile
use: podman
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -72,7 +71,6 @@ dockers:
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'
dockerfile: Dockerfile
use: podman
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand All @@ -84,22 +82,18 @@ dockers:
goarch: arm64
docker_manifests:
- name_template: 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}'
use: podman
image_templates:
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'
- name_template: 'ghcr.io/caarlos0/{{ .ProjectName }}:latest'
use: podman
image_templates:
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
- 'ghcr.io/caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'
- name_template: 'caarlos0/{{ .ProjectName }}:{{ .Tag }}'
use: podman
image_templates:
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'
- name_template: 'caarlos0/{{ .ProjectName }}:latest'
use: podman
image_templates:
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-amd64'
- 'caarlos0/{{ .ProjectName }}:{{ .Tag }}-arm64'

0 comments on commit 6aa77f7

Please sign in to comment.