Skip to content

Commit 28a5c9b

Browse files
committed
🚧 Use spefic arch cli
1 parent 6ed7ec1 commit 28a5c9b

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

packaging/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ It is generally published with format `hasura/graphql-engine-base:<SHA256>.<OS>.
2929
### How to publish images
3030

3131
```
32-
docker buildx build --build-arg BASE_IMAGE=hasura/graphql-engine:v2.6.1 --no-cache -t ghcr.io/devfolioco/graphql-engine:v0.2.6.1.cli-migrations-v3 --platform linux/amd64,linux/arm64 --push .
32+
docker buildx build --build-arg BASE_IMAGE=hasura/graphql-engine:v2.6.1 --no-cache -t ghcr.io/devfolioco/graphql-engine:v1.2.6.1.cli-migrations-v3 --platform linux/amd64,linux/arm64 --push .
3333
```
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
cli-hasura-linux-amd64
2-
manifest.yaml
1+
manifest.yaml

packaging/cli-migrations/v3/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ ARG BASE_IMAGE
22

33
FROM ${BASE_IMAGE}
44

5+
ARG TARGETARCH
6+
57
# yum update uses --nobest option to tackle https://github.com/hasura/graphql-engine-mono/issues/4096
68
RUN { apt-get update && apt-get install -y netcat; } \
79
|| { yum update -y --nobest && yum install -y nc; }
@@ -19,7 +21,7 @@ RUN mkdir -p /.hasura \
1921
ENV HASURA_GRAPHQL_SHOW_UPDATE_NOTIFICATION=false
2022

2123
COPY docker-entrypoint.sh /bin/
22-
COPY hasura-cli /bin/hasura-cli
24+
COPY cli-hasura-linux-${TARGETARCH} /bin/hasura-cli
2325

2426
RUN chmod +x /bin/hasura-cli
2527

Binary file not shown.

0 commit comments

Comments
 (0)