When rebuilding `sia` use the `portal-latest` branch and the `latest` container by default.

This commit is contained in:
Ivaylo Novakov 2021-04-07 11:55:43 +02:00
parent 3373ce8424
commit d268a99e60
No known key found for this signature in database
GPG Key ID: 06B9354AB08BE9C6
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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