Skip to content

Commit ccecb0c

Browse files
committed
copy binaries to PATH bin
1 parent 4f14922 commit ccecb0c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/docker-push-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ jobs:
6565
build-push-cli-docker-image:
6666
name: Push CLI Docker image
6767
runs-on: warp-ubuntu-latest-x64-4x
68+
strategy:
69+
fail-fast: true
70+
matrix:
71+
platform: [warp-ubuntu-latest-x64-16x]
6872
env:
6973
REPOSITORY_OWNER: ${{ github.repository_owner }}
7074
GHCR_REGISTRY: "ghcr.io"
@@ -124,9 +128,8 @@ jobs:
124128
125129
FROM alpine
126130
ARG TARGETARCH
127-
COPY --from=builder /restatectl-${TARGETARCH}/*/restatectl /
128-
COPY --from=builder /restate-cli-${TARGETARCH}/*/* /
129-
ENV PATH=/restate:/restatectl:$PATH
131+
COPY --from=builder /restate-cli-${TARGETARCH}/*/restate /usr/local/bin/restate
132+
COPY --from=builder /restatectl-${TARGETARCH}/*/restatectl /usr/local/bin/restatectl
130133
ENTRYPOINT [ "restate" ]
131134
EOF
132135

0 commit comments

Comments
 (0)