This *should* work

main
Jef Roosens 2022-01-23 11:13:47 +01:00
parent 015af3626c
commit c7d1a78b84
Signed by untrusted user: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ pipeline:
repo: chewingbever/vieter repo: chewingbever/vieter
tag: dev tag: dev
platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ] platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ]
args: args-from-env:
- CI_COMMIT_SHA - CI_COMMIT_SHA
when: when:
event: push event: push

View File

@ -7,7 +7,7 @@ ARG CI_COMMIT_SHA
WORKDIR /app WORKDIR /app
RUN curl \ RUN curl --fail \
-o vieter \ -o vieter \
"https://s3.rustybever.be/vieter/commits/${CI_COMMIT_SHA}/vieter-$(echo "${TARGETPLATFORM}" | sed 's:/:-:g')" && \ "https://s3.rustybever.be/vieter/commits/${CI_COMMIT_SHA}/vieter-$(echo "${TARGETPLATFORM}" | sed 's:/:-:g')" && \
chmod +x vieter chmod +x vieter