Skip to content

Commit

Permalink
fix: armv7 support for docker releases
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Apr 17, 2024
1 parent 4c0ee97 commit ec39533
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Build Snapshot Relaese
name: Build Snapshot Release

on:
push:
Expand Down
10 changes: 10 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ dockers:
- "--pull"
- "--platform=linux/arm/v6"

- image_templates:
- garethgeorge/backrest:{{ .Tag }}-scratch-armv7
dockerfile: Dockerfile.scratch
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/arm/v7"

docker_manifests:
- name_template: "garethgeorge/backrest:latest"
image_templates:
Expand All @@ -121,11 +129,13 @@ docker_manifests:
- "garethgeorge/backrest:{{ .Tag }}-scratch-amd64"
- "garethgeorge/backrest:{{ .Tag }}-scratch-arm64"
- "garethgeorge/backrest:{{ .Tag }}-scratch-armv6"
- "garethgeorge/backrest:{{ .Tag }}-scratch-armv7"
- name_template: "garethgeorge/backrest:{{ .Tag }}-scratch"
image_templates:
- "garethgeorge/backrest:{{ .Tag }}-scratch-amd64"
- "garethgeorge/backrest:{{ .Tag }}-scratch-arm64"
- "garethgeorge/backrest:{{ .Tag }}-scratch-armv6"
- "garethgeorge/backrest:{{ .Tag }}-scratch-armv7"

brews:
- name: backrest
Expand Down

0 comments on commit ec39533

Please sign in to comment.