Merge pull request #10016 from jumpserver/pr@dev@use_ghcr_registry

perf: 使用 ghcr.io 托管镜像
This commit is contained in:
老广
2023-03-21 14:17:31 +08:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

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

1
.gitignore vendored
View File

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

View File

@@ -1,6 +1,6 @@
ARG VERSION
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
WORKDIR /opt/jumpserver