From a2927fec09afc81012b105c8572b150d5fff9a80 Mon Sep 17 00:00:00 2001 From: Pau Rodriguez-Estivill Date: Sun, 7 Mar 2021 14:54:06 +0100 Subject: [PATCH] Minor alpine build fix --- alpine.Dockerfile | 5 ++--- debian.Dockerfile | 2 +- publish.sh | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/alpine.Dockerfile b/alpine.Dockerfile index d590320..e1d6b87 100644 --- a/alpine.Dockerfile +++ b/alpine.Dockerfile @@ -1,14 +1,13 @@ ARG BASETAG=alpine FROM postgres:$BASETAG -ARG GOCRONVER=v0.0.9 +ARG GOCRONVER=v0.0.10 ARG TARGETOS ARG TARGETARCH RUN set -x \ && apk update && apk add ca-certificates curl \ && curl -L https://github.com/prodrigestivill/go-cron/releases/download/$GOCRONVER/go-cron-$TARGETOS-$TARGETARCH-static.gz | zcat > /usr/local/bin/go-cron \ - && chmod a+x /usr/local/bin/go-cron \ - && apk del ca-certificates + && chmod a+x /usr/local/bin/go-cron ENV POSTGRES_DB="**None**" \ POSTGRES_DB_FILE="**None**" \ diff --git a/debian.Dockerfile b/debian.Dockerfile index c4f395d..c1e87ca 100644 --- a/debian.Dockerfile +++ b/debian.Dockerfile @@ -1,7 +1,7 @@ ARG BASETAG=latest FROM postgres:$BASETAG -ARG GOCRONVER=v0.0.9 +ARG GOCRONVER=v0.0.10 ARG TARGETOS ARG TARGETARCH RUN set -x \ diff --git a/publish.sh b/publish.sh index b9a4d4d..9264a34 100755 --- a/publish.sh +++ b/publish.sh @@ -22,3 +22,5 @@ BUILDREV=$(git rev-parse --short HEAD) echo "Starting building and publish revision $BUILDREV..." export BUILDREV docker buildx bake --pull --push -f "$TMPFILE" + +echo "Successfully build and pushed." \ No newline at end of file