修改编译镜像引用
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM registry.algo.com.cn/public/entre_dev:latest AS builder
|
FROM rta-docker.pkg.coding.net/public/docker/entre_dev:latest AS builder
|
||||||
|
|
||||||
COPY . /tmp/saasapi/
|
COPY . /tmp/saasapi/
|
||||||
WORKDIR /tmp/saasapi/
|
WORKDIR /tmp/saasapi/
|
||||||
@@ -7,7 +7,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
|
|||||||
--mount=type=cache,target=/go/pkg \
|
--mount=type=cache,target=/go/pkg \
|
||||||
./make.sh
|
./make.sh
|
||||||
|
|
||||||
FROM registry.algo.com.cn/public/alpine:latest AS product
|
FROM rta-docker.pkg.coding.net/public/docker/alpine:latest AS product
|
||||||
|
|
||||||
COPY --from=builder /tmp/saasapi/build/saastool /bin/saastool
|
COPY --from=builder /tmp/saasapi/build/saastool /bin/saastool
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user