Skip to content
Snippets Groups Projects
Unverified Commit 3da53ee0 authored by Timo Furrer's avatar Timo Furrer
Browse files

Fix OpenTofu version

parent 548f5a4c
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ stages:
.versions:
parallel:
matrix:
- OPENTOFU_VERSION: '1.6'
- OPENTOFU_VERSION: '1.6.0'
- OPENTOFU_VERSION: '1.6.0-rc1'
variables:
......
......@@ -2,8 +2,6 @@ ARG BASE_IMAGE
FROM $BASE_IMAGE
ARG OPENTOFU_VERSION
RUN apk add --no-cache \
curl \
gcompat \
......@@ -16,9 +14,10 @@ RUN apk add --no-cache \
# Install OpenTofu using the installer script in standalone mode
# see https://opentofu.org/docs/intro/install/standalone
# We may want to switch to installing manually from GitHub and verifying signature
ARG OPENTOFU_VERSION
RUN curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh && \
chmod +x install-opentofu.sh && \
OPENTOFU_VERSION=${OPENTOFU_VERSION} ./install-opentofu.sh --install-method standalone && \
./install-opentofu.sh --install-method standalone --opentofu-version "${OPENTOFU_VERSION}" && \
rm ./install-opentofu.sh && \
tofu --version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment