install coder from github
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2022-11-05 12:24:33 -04:00
parent 61cc7e9be9
commit e4aaf09d27

View File

@ -3,12 +3,8 @@ name: default
type: docker
steps:
- name: install coder cli
image: alpine:3.16
commands:
- curl -L https://coder.com/install.sh | sh
- name: push templates
image: ghcr.io/coder/coder:v0.11.0
image: alpine:3.16
environment:
CODER_URL: http://coder.coder.svc.cluster.local
CODER_SESSION_TOKEN:
@ -16,6 +12,7 @@ steps:
CODER_TEMPLATE_VERSION: $${DRONE_COMMIT_SHA}
commands:
- apk add git
- curl https://github.com/coder/coder/releases/download/v0.11.0/coder_0.11.0_linux_amd64.tar.gz | tar -xzf - -C /usr/local/bin
- |
for template in * ; do
[ -e "$template/main.tf" ] || continue