File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff 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+ azcli_version :
32+ - " 2.8.0"
33+ - " 2.9.1"
3134
3235 env :
3336 ORGANIZATION : " zenika"
3437 IMAGE_NAME : " terraform-azure-cli"
35- AZURE_CLI_VERSION : " 2.8.0"
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 image release tag
45- run : echo "::set-env name=IMAGE_RELEASE_TAG::release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_azcli-${{ env.AZURE_CLI_VERSION }}"
47+ run : echo "::set-env name=IMAGE_RELEASE_TAG::release-${RELEASE_TAG}_terraform-${{ matrix.tf_version }}_azcli-${{ matrix.azcli_version }}"
4648
4749 - name : Build image
48- run : docker image build . --file Dockerfile --build-arg TERRAFORM_VERSION=${{ matrix.tf_version }} --build-arg AZURE_CLI_VERSION=${AZURE_CLI_VERSION } --tag ${ORGANIZATION}/${IMAGE_NAME}:${IMAGE_RELEASE_TAG}
50+ run : docker image build . --file Dockerfile --build-arg TERRAFORM_VERSION=${{ matrix.tf_version }} --build-arg AZURE_CLI_VERSION=${{ matrix.azcli_version } } --tag ${ORGANIZATION}/${IMAGE_NAME}:${IMAGE_RELEASE_TAG}
4951
5052 - name : Login to Docker Hub registry
5153 run : echo '${{ secrets.DOCKERHUB_PASS }}' | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
Original file line number Diff line number Diff line change 11# Setup build arguments with default versions
2- ARG AZURE_CLI_VERSION=2.8.0
2+ ARG AZURE_CLI_VERSION=2.9.1
33ARG TERRAFORM_VERSION=0.12.28
44ARG PYTHON_MAJOR_VERSION=3.7
55ARG DEBIAN_VERSION=buster-20200514-slim
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ commandTests:
2626 - name : " Check Azure CLI version"
2727 command : " az"
2828 args : ["version"]
29- expectedOutput : ["\"azure-cli\": \"2.8.0 \""]
29+ expectedOutput : ["\"azure-cli\": \"2.9.1 \""]
You can’t perform that action at this time.
0 commit comments