Fixed build args
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
5a8a18b70e
commit
e720f2499d
7
.github/workflows/docker-publish.yml
vendored
7
.github/workflows/docker-publish.yml
vendored
@ -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
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user