diff --git a/.drone.yml b/.drone.yml index d07e318..ccdeca1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,4 +5,14 @@ steps: - name: test image: python commands: - - ./atmos.py --help \ No newline at end of file + - ./atmos.py --help +- name: docker + image: plugins/docker + settings: + username: + from_secret: docker_user + password: + from_secret: docker_password + dockerfile: Dockerfile + repo: spengreb/atmos + tags: latest \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index cfb9e54..a59771c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:xenial RUN apt-get update -y && apt-get install -y python3 wget unzip git -RUN wget -O /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.11.13/terraform_0.11.13_linux_amd64.zip +RUN wget -O /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.12.0/terraform_0.12.0_linux_amd64.zip RUN unzip /tmp/terraform.zip RUN mv terraform /usr/bin/