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 name: default
type: docker 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: steps:
- name: push templates - name: push templates
image: alpine:3.16 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: commands:
- apk add git - 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 - 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