Skip to content

Commit

Permalink
Removing riscv64 from docker build as its not supported by the base g…
Browse files Browse the repository at this point in the history
…olang:1.23.2 image
  • Loading branch information
mikefarah committed Nov 16, 2024
1 parent f1c7e5c commit d858ab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
IMAGE_VERSION=${VERSION:1}
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64,linux/riscv64"
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64"
echo "Building and pushing version ${IMAGE_VERSION} of image ${IMAGE_NAME}"
echo '${{ secrets.DOCKER_PASSWORD }}' | docker login -u '${{ secrets.DOCKER_USERNAME }}' --password-stdin
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23.3 as builder
FROM golang:1.23.3 AS builder

WORKDIR /go/src/mikefarah/yq

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

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

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

0 comments on commit d858ab1

Please sign in to comment.