Skip to content

Commit da09443

Browse files
committed
🚧 Use spefic arch cli
1 parent dc985b8 commit da09443

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
@@ -31,5 +31,5 @@ It is generally published with format `hasura/graphql-engine-base:<SHA256>.<OS>.
3131
### How to publish images
3232

3333
```
34-
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 .
34+
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 .
3535
```
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
@@ -1,6 +1,8 @@
11
ARG BASE_IMAGE
22
FROM ${BASE_IMAGE}
33

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

2022
COPY docker-entrypoint.sh /bin/
21-
COPY hasura-cli /bin/hasura-cli
23+
COPY cli-hasura-linux-${TARGETARCH} /bin/hasura-cli
2224

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

23.4 MB
Binary file not shown.
File renamed without changes.

0 commit comments

Comments
 (0)