Skip to content

Commit 189a285

Browse files
committed
Fix multiarch docker image for arm64 users (#125)
* Fix multiarch docker image for arm64 users * Update changelog * Also publish 'latest' tag * Remove specific variant This variant will be set by Docker/containerd. Until we support multiple arm variants we can use this simple notation.
1 parent 4c620a9 commit 189a285

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/release.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ jobs:
9090

9191
- name: Prepare files
9292
run: |
93-
mkdir -p build/linux/{amd64,arm64v8}/
93+
mkdir -p build/linux/{amd64,arm64}/
9494
mv artifacts/am-linux-x86_64/am build/linux/amd64/am
95-
mv artifacts/am-linux-aarch64/am build/linux/arm64v8/am
96-
chmod u+x build/linux/{amd64,arm64v8}/am
95+
mv artifacts/am-linux-aarch64/am build/linux/arm64/am
96+
chmod u+x build/linux/{amd64,arm64}/am
9797
9898
- name: Set up QEMU
9999
uses: docker/setup-qemu-action@v2
@@ -112,10 +112,11 @@ jobs:
112112
with:
113113
file: Dockerfile.release
114114
context: build
115-
platforms: linux/amd64,linux/arm64v8
115+
platforms: linux/amd64,linux/arm64
116116
push: true
117117
tags: |
118118
fiberplane/am:v${{ needs.validate-version.outputs.version }}
119+
fiberplane/am:latest
119120
cache-from: type=gha
120121
cache-to: type=gha,mode=max
121122

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.0]
11+
1012
- SHA-256 checksums are now provided for all artifact downloads (#101)
1113
- Added self updater (#102)
1214
- Use `clap-markdown` fork that enables formatting by display name (#103)
@@ -15,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1517
- The generated Prometheus config now gets stored in a unique, temporary location (#113)
1618
- Added new subcommand `init` to create a config file interactively (#117)
1719
- `am` is now available as a multi-arch Docker container on [Docker Hub](https://hub.docker.com/repository/docker/fiberplane/am/general) (#118)
20+
- Fix multiarch docker image for arm64 users (#125)
1821

1922
## [0.2.1]
2023

Dockerfile.release

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Use the context that contains the am binaries in the `$OS/$ARCH/am` structure.
33
# NOTE: Windows is currently not supported
44

5-
FROM ${TARGETARCH}/debian:bookworm-slim
5+
FROM debian:bookworm-slim
66

77
# These variables _should_ be set by docker buildx
88
ARG TARGETARCH

0 commit comments

Comments
 (0)