mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-07 22:35:37 +00:00
Compare commits
3 Commits
db76e7d6a3
...
9699869f63
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9699869f63 | ||
|
|
34d3a29308 | ||
|
|
94353d7fd4 |
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.26.0 AS builder
|
FROM golang:1.26.1 AS builder
|
||||||
|
|
||||||
WORKDIR /go/src/mikefarah/yq
|
WORKDIR /go/src/mikefarah/yq
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.26.0
|
FROM golang:1.26.1
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y npm && \
|
apt-get install -y npm && \
|
||||||
|
|||||||
@ -82,9 +82,8 @@ Use wget to download pre-compiled binaries. Choose your platform and architectur
|
|||||||
|
|
||||||
**For Linux (example):**
|
**For Linux (example):**
|
||||||
```bash
|
```bash
|
||||||
# Set your platform variables (adjust as needed)
|
PLATFORM=linux_amd64 # adjust as needed
|
||||||
VERSION=v4.2.0
|
VERSION=$(wget -qO- https://api.github.com/repos/mikefarah/yq/releases/latest | jq -r .tag_name)
|
||||||
PLATFORM=linux_amd64
|
|
||||||
|
|
||||||
# Download compressed binary
|
# Download compressed binary
|
||||||
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/yq_${PLATFORM}.tar.gz -O - |\
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/yq_${PLATFORM}.tar.gz -O - |\
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user