Skip to content

Commit 38ec6c4

Browse files
committed
move to new auto-external build
1 parent a59ef05 commit 38ec6c4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: .github/workflows/publish-docker.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ permissions:
1414
jobs:
1515

1616
call-docker-build-gpt-code-ui:
17-
uses: localagi/ai-dedicated-workflows/.github/workflows/operation-docker-build-publish.yml@main
17+
uses: localagi/ai-dedicated-workflows/.github/workflows/operation-docker-build-publish.yml@v2
1818
with:
1919
registry-repo-name: gpt-code-ui
20+
context-repository: ricklamers/gpt-code-ui
21+
context-repository-ref: ${{ github.ref_name }}
2022
registry-readme: README.docker.md
2123
tags: |
2224
type=schedule

Diff for: Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:3.10-slim-buster
33
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
44
apt-get update ; \
55
apt-get upgrade -y ; \
6-
apt-get install -y wget git python3 python3-pip
6+
apt-get install -y wget python3 python3-pip
77

88
RUN pip3 install --upgrade pip wheel
99

@@ -29,8 +29,7 @@ ENV NODE_PATH $NVM_DIR/v$NODE_VERSION/lib/node_modules
2929
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
3030

3131

32-
ARG GPTCODEUI_VERSION="main"
33-
RUN git clone -b "$GPTCODEUI_VERSION" --depth 1 https://github.com/ricklamers/gpt-code-ui
32+
COPY --link . /gpt-code-ui
3433
WORKDIR /gpt-code-ui
3534

3635
# prereqs for gpt-code-ui

0 commit comments

Comments
 (0)