Skip to content

Commit e12b05f

Browse files
authored
Merge pull request #380 from gatewayd-io/378-multi-
378 multi-platform Docker image
2 parents 99b98b1 + 9c886c1 commit e12b05f

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
gatewaydio/gatewayd:latest
5252
ghcr.io/gatewayd-io/gatewayd:${{ github.ref_name }}
5353
ghcr.io/gatewayd-io/gatewayd:latest
54-
platforms: linux/amd64
54+
platforms: linux/amd64,linux/arm64
5555
- name: Scan Docker image with Syft and generate SBOM
5656
run: |
5757
go install github.com/anchore/syft/cmd/syft@latest

Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,6 @@ ARG TARGETOS
77
ARG TARGETARCH
88
ARG TARGETPLATFORM
99

10-
# IF YOU SEE THIS MESSAGE, IT MEANS THAT THE PLATFORM YOU CHOSE IS NOT SUPPORTED
11-
RUN if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \
12-
echo "Target platform ${TARGETPLATFORM} is supported"; \
13-
else \
14-
echo "Target platform ${TARGETPLATFORM} is not supported"; \
15-
exit 1; \
16-
fi
17-
1810
WORKDIR /gatewayd
1911
COPY . /gatewayd
2012

0 commit comments

Comments
 (0)