Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stv0g committed Mar 22, 2022
1 parent 95ca634 commit 20ac161
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '17'
- name: Set up QEmu User Static
uses: dbhi/qus/action@main
with:
targets: arm aarch64
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
5 changes: 4 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

project_name: gose

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -55,6 +55,7 @@ dockers:
- "ghcr.io/stv0g/gose:amd64-v{{ .Major }}"
- "ghcr.io/stv0g/gose:amd64-v{{ .Major }}.{{ .Minor }}"

use: buildx
dockerfile: Dockerfile.release

goos: linux
Expand All @@ -73,6 +74,7 @@ dockers:
- "ghcr.io/stv0g/gose:arm64-v{{ .Major }}"
- "ghcr.io/stv0g/gose:arm64-v{{ .Major }}.{{ .Minor }}"

use: buildx
dockerfile: Dockerfile.release

goos: linux
Expand All @@ -91,6 +93,7 @@ dockers:
- "ghcr.io/stv0g/gose:arm-v{{ .Major }}"
- "ghcr.io/stv0g/gose:arm-v{{ .Major }}.{{ .Minor }}"

use: buildx
dockerfile: Dockerfile.release

goos: linux
Expand Down

0 comments on commit 20ac161

Please sign in to comment.