Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump golang from 1.22 to 1.23 #1101

Merged
merged 1 commit into from
Aug 19, 2024
Merged
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 Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.22 as builder
FROM --platform=$BUILDPLATFORM golang:1.23 as builder

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down Expand Up @@ -28,25 +28,25 @@

RUN mkdir bin

FROM builder as apiserver-builder

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 31 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/ironcore-apiserver ./cmd/ironcore-apiserver

FROM builder as manager-builder

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 37 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/ironcore-controller-manager ./cmd/ironcore-controller-manager

FROM builder as machinepoollet-builder

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 43 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/machinepoollet ./poollet/machinepoollet/cmd/machinepoollet/main.go

FROM builder as machinebroker-builder

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 49 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# TODO: Remove irictl-machine once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
Expand All @@ -54,20 +54,20 @@
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/machinebroker ./broker/machinebroker/cmd/machinebroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-machine ./irictl-machine/cmd/irictl-machine/main.go

FROM builder as irictl-machine-builder

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 57 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-machine ./irictl-machine/cmd/irictl-machine/main.go

FROM builder as volumepoollet-builder

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 63 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/volumepoollet ./poollet/volumepoollet/cmd/volumepoollet/main.go


FROM builder as volumebroker-builder

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 70 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# TODO: Remove irictl-volume once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
Expand All @@ -75,20 +75,20 @@
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/volumebroker ./broker/volumebroker/cmd/volumebroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-volume ./irictl-volume/cmd/irictl-volume/main.go

FROM builder as irictl-volume-builder

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 78 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-volume ./irictl-volume/cmd/irictl-volume/main.go

FROM builder as bucketpoollet-builder

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 84 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/bucketpoollet ./poollet/bucketpoollet/cmd/bucketpoollet/main.go


FROM builder as bucketbroker-builder

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 91 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# TODO: Remove irictl-bucket once debug containers are more broadly available.
RUN --mount=type=cache,target=/root/.cache/go-build \
Expand All @@ -96,7 +96,7 @@
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/bucketbroker ./broker/bucketbroker/cmd/bucketbroker/main.go && \
CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags="-s -w" -a -o bin/irictl-bucket ./irictl-bucket/cmd/irictl-bucket/main.go

FROM builder as irictl-bucket-builder

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 99 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
Expand All @@ -104,21 +104,21 @@

# Use distroless as minimal base image to package the manager binary
# Refer to https://github.com/GoogleContainerTools/distroless for more details
FROM gcr.io/distroless/static:nonroot as manager

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 107 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=manager-builder /workspace/bin/ironcore-controller-manager .
USER 65532:65532

ENTRYPOINT ["/ironcore-controller-manager"]

FROM gcr.io/distroless/static:nonroot as apiserver

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 114 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=apiserver-builder /workspace/bin/ironcore-apiserver .
USER 65532:65532

ENTRYPOINT ["/ironcore-apiserver"]

FROM gcr.io/distroless/static:nonroot as machinepoollet

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 121 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=machinepoollet-builder /workspace/bin/machinepoollet .
USER 65532:65532
Expand All @@ -126,7 +126,7 @@
ENTRYPOINT ["/machinepoollet"]

# TODO: Switch to distroless as soon as ephemeral debug containers are more broadly available.
FROM debian:bullseye-slim as machinebroker

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 129 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=machinebroker-builder /workspace/bin/machinebroker .
# TODO: Remove irictl-machine as soon as ephemeral debug containers are more broadly available.
Expand All @@ -135,12 +135,12 @@

ENTRYPOINT ["/machinebroker"]

FROM debian:bullseye-slim as irictl-machine

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 138 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=irictl-machine-builder /workspace/bin/irictl-machine .
USER 65532:65532

FROM gcr.io/distroless/static:nonroot as volumepoollet

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 143 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=volumepoollet-builder /workspace/bin/volumepoollet .
USER 65532:65532
Expand All @@ -148,7 +148,7 @@
ENTRYPOINT ["/volumepoollet"]

# TODO: Switch to distroless as soon as ephemeral debug containers are more broadly available.
FROM debian:bullseye-slim as volumebroker

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 151 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=volumebroker-builder /workspace/bin/volumebroker .
# TODO: Remove irictl-volume as soon as ephemeral debug containers are more broadly available.
Expand All @@ -157,12 +157,12 @@

ENTRYPOINT ["/volumebroker"]

FROM debian:bullseye-slim as irictl-volume

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 160 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=irictl-volume-builder /workspace/bin/irictl-volume .
USER 65532:65532

FROM gcr.io/distroless/static:nonroot as bucketpoollet

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketpoollet, bucketpoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-machine, irictl-machine)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumepoollet, volumepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-volumebroker, volumebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 165 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=bucketpoollet-builder /workspace/bin/bucketpoollet .
USER 65532:65532
Expand All @@ -170,7 +170,7 @@
ENTRYPOINT ["/bucketpoollet"]

# TODO: Switch to distroless as soon as ephemeral debug containers are more broadly available.
FROM debian:bullseye-slim as bucketbroker

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-volume, irictl-volume)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinepoollet, machinepoollet)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 173 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=bucketbroker-builder /workspace/bin/bucketbroker .
# TODO: Remove irictl-bucket as soon as ephemeral debug containers are more broadly available.
Expand All @@ -179,7 +179,7 @@

ENTRYPOINT ["/bucketbroker"]

FROM debian:bullseye-slim as irictl-bucket

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-irictl-bucket, irictl-bucket)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-controller-manager, manager)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-apiserver, apiserver)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-bucketbroker, bucketbroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 182 in Dockerfile

View workflow job for this annotation

GitHub Actions / buildAndPush (ironcore-machinebroker, machinebroker)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /
COPY --from=irictl-bucket-builder /workspace/bin/irictl-bucket .
USER 65532:65532