Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down
Loading