From c7d1a78b84139544bf4f38b17f32ebcf55d1f804 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 23 Jan 2022 11:13:47 +0100 Subject: [PATCH] This *should* work --- .woodpecker/.publish.yml | 2 +- Dockerfile.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker/.publish.yml b/.woodpecker/.publish.yml index 08eadb9..cbcc8f0 100644 --- a/.woodpecker/.publish.yml +++ b/.woodpecker/.publish.yml @@ -10,7 +10,7 @@ pipeline: repo: chewingbever/vieter tag: dev platforms: [ linux/arm/v7, linux/arm64/v8, linux/amd64 ] - args: + args-from-env: - CI_COMMIT_SHA when: event: push diff --git a/Dockerfile.ci b/Dockerfile.ci index 387d2ef..0a3f8cd 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -7,7 +7,7 @@ ARG CI_COMMIT_SHA WORKDIR /app -RUN curl \ +RUN curl --fail \ -o vieter \ "https://s3.rustybever.be/vieter/commits/${CI_COMMIT_SHA}/vieter-$(echo "${TARGETPLATFORM}" | sed 's:/:-:g')" && \ chmod +x vieter