Skip to content

Commit 2be7ef8

Browse files
authored
ci: use coder binary from the server (#7865)
1 parent 7332acc commit 2be7ef8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/dogfood.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ jobs:
5757
- name: Get short commit SHA
5858
id: vars
5959
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
60-
- name: "Install latest Coder"
60+
- name: "Get latest Coder binary from the server"
6161
run: |
62-
curl -L https://coder.com/install.sh | sh
63-
# env:
64-
# VERSION: 0.x
62+
curl -fsSL "https://dev.coder.com/bin/coder-linux-amd64" -o "./coder"
63+
chmod +x "./coder"
6564
- name: "Push template"
6665
run: |
67-
coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION
66+
./coder templates push $CODER_TEMPLATE_NAME --directory $CODER_TEMPLATE_DIR --yes --name=$CODER_TEMPLATE_VERSION
6867
env:
6968
# Consumed by Coder CLI
7069
CODER_URL: https://dev.coder.com

0 commit comments

Comments
 (0)