diff --git a/.drone.yml b/.drone.yml index 2a26acf..a77a4f1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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