From 2be7ef88e8890ec5abe01b9c9bce591181059a47 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 6 Jun 2023 09:13:25 +0300 Subject: [PATCH] ci: use coder binary from the server (#7865) --- .github/workflows/dogfood.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dogfood.yaml b/.github/workflows/dogfood.yaml index 04450ab4df..072edddb3c 100644 --- a/.github/workflows/dogfood.yaml +++ b/.github/workflows/dogfood.yaml @@ -57,14 +57,13 @@ jobs: - name: Get short commit SHA id: vars run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - name: "Install latest Coder" + - name: "Get latest Coder binary from the server" run: | - curl -L https://coder.com/install.sh | sh - # env: - # VERSION: 0.x + curl -fsSL "https://dev.coder.com/bin/coder-linux-amd64" -o "./coder" + chmod +x "./coder" - name: "Push template" run: | - coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION + ./coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION env: # Consumed by Coder CLI CODER_URL: https://dev.coder.com