mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
tweaking
This commit is contained in:
parent
1c114953a4
commit
80b62a3df4
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ ARG DEB_ARCH
|
||||||
ARG ZT_NAME
|
ARG ZT_NAME
|
||||||
ARG DISTRO
|
ARG DISTRO
|
||||||
RUN curl -s http://${BASEURL}/key.gpg -o /etc/apt/trusted.gpg.d/ci.lab.gpg
|
RUN curl -s http://${BASEURL}/key.gpg -o /etc/apt/trusted.gpg.d/ci.lab.gpg
|
||||||
RUN echo "deb [arch=${DEB_ARCH} signed-by=/etc/apt/trusted.gpg.d/ci.lab.gpg] http://${BASEURL}/${DISTRO} ${ZT_NAME} main" > /etc/apt/sources.list.d/zerotier.list
|
RUN echo "deb [arch=${DEB_ARCH} signed-by=/etc/apt/trusted.gpg.d/zerotier.gpg] http://${BASEURL}/${DISTRO} ${ZT_NAME} main" > /etc/apt/sources.list.d/zerotier.list
|
||||||
RUN apt-get -qq update
|
RUN apt-get -qq update
|
||||||
RUN apt-get -qq install zerotier=one=${VERSION}
|
RUN apt-get -qq install zerotier=one=${VERSION}
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${BUILD_EVENT} == "tag" ]; then
|
if [ ${BUILD_EVENT} == "tag" ]; then
|
||||||
BASEURL="zerotier-releases.ci.lab"
|
BASEURL="zerotier-releases.home.arpa"
|
||||||
else
|
else
|
||||||
BASEURL="zerotier-builds.ci.lab"
|
BASEURL="zerotier-builds.home.arpa"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "#~~~~~~~~~~~~~~~~~~~~"
|
echo "#~~~~~~~~~~~~~~~~~~~~"
|
||||||
|
|
Loading…
Add table
Reference in a new issue