When rebuilding `sia` use the `portal-latest` branch and the `latest` container by default.
This commit is contained in:
parent
3373ce8424
commit
d268a99e60
|
@ -19,7 +19,7 @@ services:
|
||||||
context: ./docker/sia
|
context: ./docker/sia
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
args:
|
args:
|
||||||
branch: v1.5.5
|
branch: portal-latest
|
||||||
container_name: sia
|
container_name: sia
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|
|
@ -3,12 +3,12 @@ FROM golang AS sia-builder
|
||||||
ENV GOOS linux
|
ENV GOOS linux
|
||||||
ENV GOARCH amd64
|
ENV GOARCH amd64
|
||||||
|
|
||||||
ARG branch=master
|
ARG branch=portal-latest
|
||||||
|
|
||||||
RUN git clone https://gitlab.com/SkynetHQ/skyd.git Sia --single-branch --branch ${branch}
|
RUN git clone https://gitlab.com/SkynetHQ/skyd.git Sia --single-branch --branch ${branch}
|
||||||
RUN make release --directory Sia
|
RUN make release --directory Sia
|
||||||
|
|
||||||
FROM nebulouslabs/sia:1.5.5
|
FROM nebulouslabs/sia:latest
|
||||||
|
|
||||||
COPY --from=sia-builder /go/bin/skyd /usr/bin/siad
|
COPY --from=sia-builder /go/bin/skyd /usr/bin/siad
|
||||||
COPY --from=sia-builder /go/bin/skyc /usr/bin/siac
|
COPY --from=sia-builder /go/bin/skyc /usr/bin/siac
|
||||||
|
|
Reference in New Issue