fix ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2022-11-05 12:29:09 -04:00
parent f9594b78f9
commit a2c919c77f

View File

@ -2,16 +2,14 @@ kind: pipeline
name: default
type: docker
environment:
CODER_URL: http://coder.coder.svc.cluster.local
CODER_SESSION_TOKEN:
from_secret: CODER_SESSION_TOKEN
CODER_TEMPLATE_VERSION: $${DRONE_COMMIT_SHA}
CODER_VERSION: 0.11.0
steps:
- name: push templates
image: alpine:3.16
environment:
CODER_URL: http://coder.coder.svc.cluster.local
CODER_SESSION_TOKEN:
from_secret: CODER_SESSION_TOKEN
CODER_TEMPLATE_VERSION: $${DRONE_COMMIT_SHA}
commands:
- apk add git
- wget -O- https://github.com/coder/coder/releases/download/v$${CODER_VERSION}/coder_$${CODER_VERSION}_linux_amd64.tar.gz | tar -xzf - -C /usr/local/bin coder