Skip to content
Merged
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
2 changes: 1 addition & 1 deletion apps/devcontainer/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Test(t *testing.T) {

app, err := testcontainers.Run(
ctx, image,
testcontainers.WithCmdArgs("clustertool", "info"),
testcontainers.WithCmdArgs("forgetool", "info"),
)
testcontainers.CleanupContainer(t, app)
require.NoError(t, err)
Expand Down
13 changes: 7 additions & 6 deletions apps/renovate/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# hadolint ignore=DL3007
ARG VERSION

FROM docker.io/renovate/renovate:${VERSION}-full

Check warning on line 4 in apps/renovate/Dockerfile

View workflow job for this annotation

GitHub Actions / Build renovate / Build (linux/arm64)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG docker.io/renovate/renovate:${VERSION}-full results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 4 in apps/renovate/Dockerfile

View workflow job for this annotation

GitHub Actions / Build renovate / Build (linux/amd64)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG docker.io/renovate/renovate:${VERSION}-full results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/


ARG TARGETARCH
ARG TARGETARCH=${TARGETARCH/arm64/ARM64}
ARG TARGETARCH=${TARGETARCH/amd64/amd64}
ARG CLUSTERTOOL_VERSION=2.0.6
# renovate: datasource=github-releases depName=trueforge-org/forgetool
ARG FORGETOOL_VERSION=3.0.2

# Download and set up the clustertool binary
RUN curl -L "https://github.com/trueforge-org/truecharts/releases/download/v${CLUSTERTOOL_VERSION}/clustertool_${CLUSTERTOOL_VERSION}_linux_${TARGETARCH}.tar.gz" -o /tmp/clustertool.tar.gz \
&& tar -xzvf /tmp/clustertool.tar.gz -C /usr/local/bin \
&& chmod +x /usr/local/bin/clustertool \
&& rm /tmp/clustertool.tar.gz
# Download and set up the forgetool binary
RUN curl -L "https://github.com/trueforge-org/forgetool/releases/download/v${FORGETOOL_VERSION}/forgetool_${FORGETOOL_VERSION}_linux_${TARGETARCH}.tar.gz" -o /tmp/forgetool.tar.gz \
&& tar -xzvf /tmp/forgetool.tar.gz -C /usr/local/bin \
&& chmod +x /usr/local/bin/forgetool \
&& rm /tmp/forgetool.tar.gz

5 changes: 0 additions & 5 deletions apps/renovate/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ variable "VERSION" {
default = "43.3.0"
}

variable "CLUSTERTOOL_VERSION" {
// renovate: datasource=github-releases depName=trueforge-org/truecharts
default = "2.0.6"
}

variable "LICENSE" {
default = "AGPL-3.0-or-later"
}
Expand Down