Skip to content

Commit

Permalink
Add dasel v1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWright committed Dec 20, 2020
1 parent 42dc96b commit 6cfea2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN go build -o bin/server cmd/server/main.go

WORKDIR bin/builds
RUN curl -s https://api.github.com/repos/tomwright/dasel/releases/latest | grep browser_download_url | cut -d '"' -f 4 | wget -qi - && mv dasel_linux_amd64 dasel_latest && chmod +x dasel_latest
RUN curl -s https://api.github.com/repos/tomwright/dasel/releases | grep v1.10.0 | grep browser_download_url | cut -d '"' -f 4 | wget -qi - && mv dasel_linux_amd64 dasel_v1_10_0 && chmod +x dasel_v1_10_0
RUN curl -s https://api.github.com/repos/tomwright/dasel/releases | grep v1.9.1 | grep browser_download_url | cut -d '"' -f 4 | wget -qi - && mv dasel_linux_amd64 dasel_v1_9_1 && chmod +x dasel_v1_9_1
RUN curl -s https://api.github.com/repos/tomwright/dasel/releases | grep v1.8.0 | grep browser_download_url | cut -d '"' -f 4 | wget -qi - && mv dasel_linux_amd64 dasel_v1_8_0 && chmod +x dasel_v1_8_0
RUN curl -s https://api.github.com/repos/tomwright/dasel/releases | grep v1.7.0 | grep browser_download_url | cut -d '"' -f 4 | wget -qi - && mv dasel_linux_amd64 dasel_v1_7_0 && chmod +x dasel_v1_7_0
Expand Down Expand Up @@ -43,6 +44,7 @@ COPY --from=node /root/frontend ./frontend
COPY ./migrations ./migrations

ENV DASEL_BUILDS="latest:./builds/dasel_latest"
ENV DASEL_BUILDS="${DASEL_BUILDS},v1.10.0:./builds/dasel_v1_10_0"
ENV DASEL_BUILDS="${DASEL_BUILDS},v1.9.1:./builds/dasel_v1_9_1"
ENV DASEL_BUILDS="${DASEL_BUILDS},v1.8.0:./builds/dasel_v1_8_0"
ENV DASEL_BUILDS="${DASEL_BUILDS},v1.7.0:./builds/dasel_v1_7_0"
Expand Down

0 comments on commit 6cfea2a

Please sign in to comment.