Skip to content

Commit 10ebdbc

Browse files
committed
test release
1 parent 6aa7723 commit 10ebdbc

File tree

2 files changed

+48
-8
lines changed

2 files changed

+48
-8
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,10 @@ jobs:
3939
version: latest
4040
args: release --rm-dist
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
44+
- name: Upload assets
45+
uses: actions/upload-artifact@v2
46+
with:
47+
name: ssh-chat
48+
path: dist/*

.goreleaser.yml

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ builds:
4444

4545
dockers:
4646
- image_templates:
47-
- "ghcr.io/shazow/ssh-chat:latest"
48-
- "ghcr.io/shazow/ssh-chat:{{ .Version }}"
47+
- "ghcr.io/aymanbagabas/ssh-chat:latest"
48+
- "ghcr.io/aymanbagabas/ssh-chat:{{ .Version }}"
4949
ids: [ssh-chat]
5050
goarch: amd64
5151
build_flag_templates:
@@ -61,8 +61,8 @@ dockers:
6161
dockerfile: Dockerfile.goreleaser
6262
use: buildx
6363
- image_templates:
64-
- "ghcr.io/shazow/ssh-chat:latest"
65-
- "ghcr.io/shazow/ssh-chat:{{ .Version }}"
64+
- "ghcr.io/aymanbagabas/ssh-chat:latest"
65+
- "ghcr.io/aymanbagabas/ssh-chat:{{ .Version }}"
6666
ids: [ssh-chat]
6767
goarch: arm64
6868
build_flag_templates:
@@ -77,6 +77,42 @@ dockers:
7777
- --label=org.opencontainers.image.licenses=MIT
7878
dockerfile: Dockerfile.goreleaser
7979
use: buildx
80+
- image_templates:
81+
- "ghcr.io/aymanbagabas/ssh-chat:latest"
82+
- "ghcr.io/aymanbagabas/ssh-chat:{{ .Version }}"
83+
ids: [ssh-chat]
84+
goarch: arm
85+
goarm: 6
86+
build_flag_templates:
87+
- --platform=linux/arm64
88+
- --label=org.opencontainers.image.title={{ .ProjectName }}
89+
- --label=org.opencontainers.image.description={{ .ProjectName }}
90+
- --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
91+
- --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
92+
- --label=org.opencontainers.image.version={{ .Version }}
93+
- --label=org.opencontainers.image.created={{ .Date }}
94+
- --label=org.opencontainers.image.revision={{ .FullCommit }}
95+
- --label=org.opencontainers.image.licenses=MIT
96+
dockerfile: Dockerfile.goreleaser
97+
use: buildx
98+
- image_templates:
99+
- "ghcr.io/aymanbagabas/ssh-chat:latest"
100+
- "ghcr.io/aymanbagabas/ssh-chat:{{ .Version }}"
101+
ids: [ssh-chat]
102+
goarch: arm
103+
goarm: 7
104+
build_flag_templates:
105+
- --platform=linux/arm64
106+
- --label=org.opencontainers.image.title={{ .ProjectName }}
107+
- --label=org.opencontainers.image.description={{ .ProjectName }}
108+
- --label=org.opencontainers.image.url=https://github.com/shazow/ssh-chat
109+
- --label=org.opencontainers.image.source=https://github.com/shazow/ssh-chat
110+
- --label=org.opencontainers.image.version={{ .Version }}
111+
- --label=org.opencontainers.image.created={{ .Date }}
112+
- --label=org.opencontainers.image.revision={{ .FullCommit }}
113+
- --label=org.opencontainers.image.licenses=MIT
114+
dockerfile: Dockerfile.goreleaser
115+
use: buildx
80116

81117
nfpms:
82118
- maintainer: Andrey Petrov <andrey.petrov@shazow.net>
@@ -99,12 +135,10 @@ archives:
99135
- LICENSE*
100136
- README*
101137
- CHANGELOG*
102-
- dist/*.deb
103-
- dist/*.rpm
104138

105139
release:
106140
github:
107-
owner: shazow
141+
owner: aymanbagabas
108142
name: ssh-chat
109143
ids: [ssh-chat]
110144
prerelease: auto

0 commit comments

Comments
 (0)