Make binary executable
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2023-03-16 12:37:47 +01:00
parent 8eb849b671
commit 25d21e11b6
1 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,9 @@ RUN apk --update add --no-cache \
curl \
jq && \
curl -L https://api.github.com/repos/mikefarah/yq/releases/latest | \
jq -r '.assets[] | select(.name | contains("yq_linux_amd64")) | .browser_download_url' | \
xargs -I {} curl -L -o /tmp/yq {}
jq -r '.assets[] | select(.name | endswith("yq_linux_amd64")) | .browser_download_url' | \
xargs -I {} curl -L -o /tmp/yq {} && \
chmod +x /tmp/yq
FROM debian:11-slim