mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-07 22:35:37 +00:00
build: create binaries and OCI image for linux/riscv64
This commit is contained in:
parent
ec4fdb50ed
commit
4dbfea28ce
4
.github/workflows/docker-release.yml
vendored
4
.github/workflows/docker-release.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
IMAGE_VERSION=${VERSION:1}
|
||||
echo "IMAGE_VERSION: ${IMAGE_VERSION}"
|
||||
|
||||
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64"
|
||||
PLATFORMS="linux/amd64,linux/ppc64le,linux/arm64,linux/riscv64"
|
||||
|
||||
echo "Building and pushing version ${IMAGE_VERSION} of image ${IMAGE_NAME}"
|
||||
echo '${{ secrets.DOCKER_PASSWORD }}' | docker login -u '${{ secrets.DOCKER_USERNAME }}' --password-stdin
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
-t "${IMAGE_NAME}:4" \
|
||||
-t "${IMAGE_NAME}:latest" \
|
||||
.
|
||||
|
||||
|
||||
cd github-action
|
||||
docker buildx build \
|
||||
--label "org.opencontainers.image.authors=https://github.com/mikefarah/yq/graphs/contributors" \
|
||||
|
||||
@ -29,6 +29,7 @@ builds:
|
||||
- linux_mipsle
|
||||
- linux_ppc64
|
||||
- linux_ppc64le
|
||||
- linux_riscv64
|
||||
- linux_s390x
|
||||
- netbsd_386
|
||||
- netbsd_amd64
|
||||
|
||||
@ -13,6 +13,7 @@ architectures:
|
||||
- build-on: armhf
|
||||
- build-on: amd64
|
||||
- build-on: i386
|
||||
- build-on: riscv64
|
||||
apps:
|
||||
yq:
|
||||
command: bin/yq
|
||||
|
||||
Loading…
Reference in New Issue
Block a user