Skip to content

Commit

Permalink
#21 add support for passing terraform version to docker build (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
buker authored Jun 3, 2024
1 parent 3261da2 commit 0b7cb3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.19

ENV REVIEWDOG_VERSION=v0.17.4
ENV TERRAFORM_VERSION=1.7.3
ARG REVIEWDOG_VERSION=v0.17.4
ARG TERRAFORM_VERSION=1.7.3

SHELL ["/bin/ash", "-eo", "pipefail", "-c"]

Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ inputs:
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.terraform_version }}

# Ref: https://haya14busa.github.io/github-action-brandings/
# TODO: update branding if you want.
Expand Down

0 comments on commit 0b7cb3c

Please sign in to comment.