From 5046c0d307eee7b504b8b033d70d1f169d1b4079 Mon Sep 17 00:00:00 2001 From: Clemens Nafe Date: Thu, 23 Apr 2026 09:47:28 +0200 Subject: [PATCH 1/2] Provide terragrunt image with terragrunt version tag --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5edd96..d3e5c49 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,7 +103,7 @@ jobs: - name: set tags run: | # install crane - curl -LO https://github.com/google/go-containerregistry/releases/download/v0.20.2/go-containerregistry_Linux_x86_64.tar.gz + curl -LO https://github.com/google/go-containerregistry/releases/download/v0.21.5/go-containerregistry_Linux_x86_64.tar.gz tar zxvf go-containerregistry_Linux_x86_64.tar.gz chmod +x crane @@ -113,4 +113,5 @@ jobs: ./crane copy ${{ steps.meta.outputs.tags }} ${{ env.IMAGE_NAME }}:latest ./crane copy ${{ steps.meta.outputs.tags }} ${{ env.IMAGE_NAME }}:${{ env.TERRAFORM }} ./crane copy ${{ steps.meta.outputs.tags }} ${{ env.IMAGE_NAME }}:tf${{ env.TERRAFORM }} + ./crane copy ${{ steps.meta.outputs.tags }} ${{ env.IMAGE_NAME }}:tg${{ env.TERRAGRUNT }} rm -f /home/runner/.docker/config.json From d18e289f7df3d11aa994086196bff0494c24d78f Mon Sep 17 00:00:00 2001 From: Clemens Nafe Date: Thu, 23 Apr 2026 10:46:34 +0200 Subject: [PATCH 2/2] fix: "FromAsCasing: 'as' and 'FROM' keywords' casing do not match" More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/ --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0eaeb8d..a87cd9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ ARG TERRAFORM #ARG OPENTOFU -FROM quay.io/terraform-docs/terraform-docs:latest as docs -#FROM ghcr.io/opentofu/opentofu:${OPENTOFU} as tofu +FROM quay.io/terraform-docs/terraform-docs:latest AS docs +#FROM ghcr.io/opentofu/opentofu:${OPENTOFU} AS tofu FROM hashicorp/terraform:${TERRAFORM} ARG TERRAGRUNT @@ -26,7 +26,7 @@ RUN case `uname -m` in \ cat /envfile # install terragrunt -RUN . /envfile && echo $ARCH && \ +RUN . /envfile && echo $ARCH && \ TERRAGRUNT_URL="https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT}/terragrunt_linux_${ARCH}" && \ wget -q "${TERRAGRUNT_URL}" -O /usr/local/bin/terragrunt && \ chmod +x /usr/local/bin/terragrunt