Skip to content

Commit 2a323e0

Browse files
committed
chore(registry): bump registry 2.8.3
1 parent cd8e400 commit 2a323e0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ARG LDFLAGS
55
ADD . /workspace
66
RUN export GO111MODULE=on \
77
&& cd /workspace \
8-
&& CGO_ENABLED=0 init-stack go build -ldflags "${LDFLAGS}" -o /usr/local/bin/registry main.go \
9-
&& upx -9 --brute /usr/local/bin/registry
8+
&& CGO_ENABLED=0 init-stack go build -ldflags "${LDFLAGS}" -o /bin/boot main.go \
9+
&& upx -9 --brute /bin/boot
1010

1111

1212
FROM registry.drycc.cc/drycc/base:${CODENAME}
@@ -16,10 +16,10 @@ ENV DRYCC_UID=1001 \
1616
DRYCC_HOME_DIR=/var/lib/registry \
1717
JQ_VERSION="1.7" \
1818
MC_VERSION="2023.09.20.15.22.31" \
19-
REGISTRY_VERSION="2.8.2"
19+
REGISTRY_VERSION="2.8.3"
2020

2121
COPY rootfs/bin/ /bin/
22-
COPY --from=build /usr/local/bin/registry /opt/registry/bin/registry
22+
COPY --from=build /bin/boot /bin/boot
2323

2424
RUN groupadd drycc --gid ${DRYCC_GID} \
2525
&& useradd drycc -u ${DRYCC_UID} -g ${DRYCC_GID} -s /bin/bash -m -d ${DRYCC_HOME_DIR} \
@@ -49,5 +49,5 @@ ENV DRYCC_REGISTRY_CONFIG /opt/drycc/registry/etc/config.yml
4949

5050
USER ${DRYCC_UID}
5151
VOLUME ["${DRYCC_HOME_DIR}"]
52-
CMD ["/opt/registry/bin/registry"]
52+
CMD ["/bin/boot"]
5353
EXPOSE 5000

contrib/ci/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ echo -e "\\033[32m---> S3 service ${REGISTRY_IP}:5000 ready...\\033[0m"
4949
# check that the registry is still up
5050
podman tag "$1" "${REGISTRY_IP}:5000/registry:canary"
5151
echo admin | podman login "${REGISTRY_IP}:5000" --tls-verify=false --username admin --password-stdin > /dev/null 2>&1
52-
podman push "${REGISTRY_IP}:5000/registry:canary" --tls-verify=false
52+
podman push "${REGISTRY_IP}:5000/registry:canary" --tls-verify=false

0 commit comments

Comments
 (0)