File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
ARG image=public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base-nonroot:2021-12-01-1638322424
15
15
16
- FROM golang:1.16 AS builder
16
+ FROM --platform=$BUILDPLATFORM golang:1.16 AS builder
17
17
WORKDIR /go/src/github.com/kubernetes-sigs/aws-iam-authenticator
18
18
COPY . .
19
- RUN make bin
19
+ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH make bin
20
20
RUN chown 65532 _output/bin/aws-iam-authenticator
21
21
22
22
FROM public.ecr.aws/eks-distro/kubernetes/go-runner:v0.9.0-eks-1-21-4 as go-runner
Original file line number Diff line number Diff line change 1
- images :
2
- - ' gcr.io/$PROJECT_ID/aws-iam-authenticator:$_GIT_TAG'
3
- - ' gcr.io/$PROJECT_ID/aws-iam-authenticator:latest'
4
1
options :
5
2
substitution_option : ALLOW_LOOSE
6
3
steps :
You can’t perform that action at this time.
0 commit comments