perf: 使用 ghcr.io 托管镜像

pull/10016/head
吴小白 2023-03-20 14:22:33 +08:00
parent 4a55c55022
commit 664ab0797a
3 changed files with 3 additions and 2 deletions

View File

@ -8,4 +8,4 @@ celerybeat.pid
### Vagrant ### ### Vagrant ###
.vagrant/ .vagrant/
apps/xpack/.git apps/xpack/.git
.history/

1
.gitignore vendored
View File

@ -43,3 +43,4 @@ releashe
/apps/script.py /apps/script.py
data/* data/*
test.py test.py
.history/

View File

@ -1,6 +1,6 @@
ARG VERSION ARG VERSION
FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} as build-xpack FROM registry.fit2cloud.com/jumpserver/xpack:${VERSION} as build-xpack
FROM jumpserver/core:${VERSION} FROM ghcr.io/jumpserver/core:${VERSION}
COPY --from=build-xpack /opt/xpack /opt/jumpserver/apps/xpack COPY --from=build-xpack /opt/xpack /opt/jumpserver/apps/xpack
WORKDIR /opt/jumpserver WORKDIR /opt/jumpserver