Skip to content

Commit 8222614

Browse files
committed
.github/worfklows: copy cilium-cli binary from container
Instead of using the cilium-cli script, that behaves as the cilium-cli binary, we will copy the binary directly from the container so that we can use it inside the VM created by LVH. Fixes: b2ff453 (".github/workflows: simplify ginkgo workflow") Signed-off-by: André Martins <andre@cilium.io>
1 parent 25d7b6b commit 8222614

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/conformance-ginkgo.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,16 @@ jobs:
276276
with:
277277
skip-build: ${{ env.CILIUM_CLI_SKIP_BUILD }}
278278
image-repo: ${{ env.CILIUM_CLI_IMAGE_REPO }}
279-
ci-version: ${{ needs.setup-vars.outputs.SHA }}
279+
image-tag: ${{ needs.setup-vars.outputs.SHA }}
280+
repository: ${{ env.CILIUM_CLI_RELEASE_REPO }}
281+
release-version: ${{ env.CILIUM_CLI_VERSION }}
280282

281283
- name: Copy cilium-cli
282284
shell: bash
283285
run: |
284-
cp -f /usr/local/bin/cilium ./cilium-cli-bin
286+
cid=$(docker create ${{ env.CILIUM_CLI_IMAGE_REPO }}:${{ needs.setup-vars.outputs.SHA }} ls)
287+
docker cp $cid:/usr/local/bin/cilium "$PWD/cilium-cli-bin"
288+
docker rm $cid
285289
286290
- name: Install helm
287291
shell: bash

0 commit comments

Comments
 (0)