Skip to content

Commit e174ab2

Browse files
authored
🔖 Add Terrafom 0.13.0-rc1 Azure CLI 2.9.1 for release (#89)
* ⬆️ bump azcli default version to 2.9.1 * ⬆️ prepare release, add tf 0.13.0-rc1 and azcli 2.9.1
1 parent 1f6005a commit e174ab2

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+
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

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 AZURE_CLI_VERSION=2.8.0
2+
ARG AZURE_CLI_VERSION=2.9.1
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
@@ -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\""]

0 commit comments

Comments
 (0)