Skip to content

Commit f7e46e4

Browse files
authored
🔖 Add Terrafom 0.13.0-rc1 ans AWS CLI 1.18.102 for release (#36)
* ⬆️ bump default awscli version to 1.18.102 * 🔖 prepare release, add tf 0.13.0-rc1 and awscli 1.18.102 support
1 parent 6c14906 commit f7e46e4

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,14 @@ jobs:
2727
tf_version:
2828
- "0.11.14"
2929
- "0.12.28"
30-
- "0.13.0-beta3"
30+
- "0.13.0-rc1"
31+
awscli_version:
32+
- "1.18.101"
33+
- "1.18.102"
3134

3235
env:
3336
ORGANIZATION: "zenika"
3437
IMAGE_NAME: "terraform-aws-cli"
35-
AWS_CLI_VERSION: "1.18.93"
3638

3739
steps:
3840
- name: Check out the repo
@@ -42,10 +44,10 @@ jobs:
4244
run: echo "::set-env name=RELEASE_TAG::${GITHUB_REF##*/}"
4345

4446
- name: Build and save the image release tag
45-
run: echo "::set-env name=IMAGE_TAG::release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_awscli-${AWS_CLI_VERSION}"
47+
run: echo "::set-env name=IMAGE_TAG::release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_awscli-${{ matrix.awscli_version }}"
4648

4749
- name: Build image
48-
run: docker image build . --file Dockerfile --build-arg TERRAFORM_VERSION=${{ matrix.tf_version }} --build-arg AWS_CLI_VERSION=${AWS_CLI_VERSION} --tag ${ORGANIZATION}/${IMAGE_NAME}:${IMAGE_TAG}
50+
run: docker image build . --file Dockerfile --build-arg TERRAFORM_VERSION=${{ matrix.tf_version }} --build-arg AWS_CLI_VERSION=${{ matrix.awscli_version }} --tag ${ORGANIZATION}/${IMAGE_NAME}:${IMAGE_TAG}
4951

5052
- name: Login to Docker Hub registry
5153
run: echo '${{ secrets.DOCKERHUB_PASS }}' | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Setup build arguments with default versions
2-
ARG AWS_CLI_VERSION=1.18.93
2+
ARG AWS_CLI_VERSION=1.18.102
33
ARG TERRAFORM_VERSION=0.12.28
44
ARG PYTHON_MAJOR_VERSION=3.7
55
ARG DEBIAN_VERSION=buster-20200514-slim

tests/container-structure-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ commandTests:
3131
- name: "Check AWS CLI version"
3232
command: "aws"
3333
args: ["--version"]
34-
expectedOutput: ["aws-cli/1.18.93"]
34+
expectedOutput: ["aws-cli/1.18.102"]

0 commit comments

Comments
 (0)