mirror of
https://github.com/mikefarah/yq.git
synced 2025-03-10 02:58:54 +00:00
Removing riscv64 from docker build as its not supported by the base golang:1.23.2 image
This commit is contained in:
parent
f1c7e5ca79
commit
d858ab1644
2
.github/workflows/docker-release.yml
vendored
2
.github/workflows/docker-release.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
|||||||
IMAGE_VERSION=${VERSION:1}
|
IMAGE_VERSION=${VERSION:1}
|
||||||
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
|
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 "Building and pushing version ${IMAGE_VERSION} of image ${IMAGE_NAME}"
|
||||||
echo '${{ secrets.DOCKER_PASSWORD }}' | docker login -u '${{ secrets.DOCKER_USERNAME }}' --password-stdin
|
echo '${{ secrets.DOCKER_PASSWORD }}' | docker login -u '${{ secrets.DOCKER_USERNAME }}' --password-stdin
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23.3 as builder
|
FROM golang:1.23.3 AS builder
|
||||||
|
|
||||||
WORKDIR /go/src/mikefarah/yq
|
WORKDIR /go/src/mikefarah/yq
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ RUN ./scripts/acceptance.sh
|
|||||||
|
|
||||||
# Choose alpine as a base image to make this useful for CI, as many
|
# Choose alpine as a base image to make this useful for CI, as many
|
||||||
# CI tools expect an interactive shell inside the container
|
# CI tools expect an interactive shell inside the container
|
||||||
FROM alpine:3 as production
|
FROM alpine:3 AS production
|
||||||
LABEL maintainer="Mike Farah <mikefarah@users.noreply.github.com>"
|
LABEL maintainer="Mike Farah <mikefarah@users.noreply.github.com>"
|
||||||
|
|
||||||
COPY --from=builder /go/src/mikefarah/yq/yq /usr/bin/yq
|
COPY --from=builder /go/src/mikefarah/yq/yq /usr/bin/yq
|
||||||
|
Loading…
Reference in New Issue
Block a user