Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Commit

Permalink
VERSION.txt: This is v0.9.1 (Docker only) (#266)
Browse files Browse the repository at this point in the history
This commit fixes our Docker manifest which previously contained two arm
images vs. one arm and one amd.

This release is for Docker only.
  • Loading branch information
bmizerany committed Feb 28, 2023
1 parent ef49337 commit 10455f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
16 changes: 11 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,16 @@ dockers:
goos: linux
goarch: arm64
image_templates:
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "tierrun/{{ .ProjectName }}:latest-arm64"
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
- "tierrun/{{ .ProjectName }}:latest-arm64v8"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.version={{.Tag}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/arm64/v8"
dockerfile: Dockerfile.goreleaser
- use: buildx
goos: linux
Expand All @@ -62,14 +63,19 @@ dockers:
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.version={{.Tag}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/amd64"
dockerfile: Dockerfile.goreleaser
docker_manifests:
- name_template: "tierrun/{{ .ProjectName }}:{{ .Tag }}"
image_templates:
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-arm64"
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
- name_template: "tierrun/{{ .ProjectName }}:latest"
image_templates:
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-amd64"
- "tierrun/{{ .ProjectName }}:{{ .Tag }}-arm64v8"
nfpms:
- maintainer: Tier
description: The Tier CLI
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM --platform=$BUILDPLATFORM alpine:latest
RUN apk --no-cache add ca-certificates
EXPOSE 8080

Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
0.9.1

0 comments on commit 10455f9

Please sign in to comment.