Skip to content

Commit d858ab1

Browse files
committed
Removing riscv64 from docker build as its not supported by the base golang:1.23.2 image
1 parent f1c7e5c commit d858ab1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
IMAGE_VERSION=${VERSION:1}
3939
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
4040
41-
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64,linux/riscv64"
41+
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64"
4242
4343
echo "Building and pushing version ${IMAGE_VERSION} of image ${IMAGE_NAME}"
4444
echo '${{ secrets.DOCKER_PASSWORD }}' | docker login -u '${{ secrets.DOCKER_USERNAME }}' --password-stdin

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.3 as builder
1+
FROM golang:1.23.3 AS builder
22

33
WORKDIR /go/src/mikefarah/yq
44

@@ -10,7 +10,7 @@ RUN ./scripts/acceptance.sh
1010

1111
# Choose alpine as a base image to make this useful for CI, as many
1212
# CI tools expect an interactive shell inside the container
13-
FROM alpine:3 as production
13+
FROM alpine:3 AS production
1414
LABEL maintainer="Mike Farah <[email protected]>"
1515

1616
COPY --from=builder /go/src/mikefarah/yq/yq /usr/bin/yq

0 commit comments

Comments
 (0)