aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-06-26 11:32:49 +0300
committerValentin Popov <info@valentineus.link>2020-06-26 11:32:49 +0300
commite720f2499d13ef058f4bfff54098780be1cbcf47 (patch)
treecc07e0c02c1cda608869b98d73c877375b58ea4a
parent5a8a18b70e8c46abe9a1caf9a4cffc8347f94dba (diff)
downloaddocker-meteor-e720f2499d13ef058f4bfff54098780be1cbcf47.tar.xz
docker-meteor-e720f2499d13ef058f4bfff54098780be1cbcf47.zip
Fixed build args
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--.github/workflows/docker-publish.yml7
-rw-r--r--release/Dockerfile4
2 files changed, 4 insertions, 7 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 553ec51..8f084ea 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -38,9 +38,6 @@ jobs:
- "1.5"
- "1.4"
- env:
- RELEASE: ${{ matrix.version }}
-
steps:
- uses: actions/checkout@v2
with:
@@ -52,8 +49,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: valentineus/meteor
- tags: ${{ env.RELEASE }}
+ tags: ${{ matrix.version }}
path: release
- build_args: RELEASE=${{ env.RELEASE }}
+ build_args: RELEASE=${{ matrix.version }}
tag_with_ref: true
tag_with_sha: true \ No newline at end of file
diff --git a/release/Dockerfile b/release/Dockerfile
index c383ba1..065fa0c 100644
--- a/release/Dockerfile
+++ b/release/Dockerfile
@@ -3,13 +3,13 @@ LABEL maintainer="info@valentineus.link"
ENV METEOR_ALLOW_SUPERUSER="true"
-ARG release
+ARG RELEASE
RUN set -ex \
&& apt-get update \
&& apt-get --no-install-recommends --no-install-suggests --yes install \
ca-certificates curl git openssl \
- && curl https://install.meteor.com | sed "s/^RELEASE=.*/RELEASE=$RELEASE/g" | sh \
+ && curl https://install.meteor.com | sed "s/^RELEASE=.*/RELEASE=${RELEASE}/g" | sh \
&& apt-get --purge --yes remove curl \
&& apt-get --purge --yes autoremove \
&& apt-get clean \