feat(Dockerfile): 修改映像檔來源
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM codex:latest
|
FROM gitea.jsc.idv.tw/images/codex:$CODEX_VERSION
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt install -y --no-install-recommends git
|
&& apt install -y --no-install-recommends git
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ runs:
|
|||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
env:
|
env:
|
||||||
|
CODEX_VERSION: ${{ vars.IMAGE_CODEX_VERSION }}
|
||||||
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
GITEA_TOKEN: ${{ inputs.token || gitea.token }}
|
GITEA_TOKEN: ${{ inputs.token || gitea.token }}
|
||||||
|
|||||||
Reference in New Issue
Block a user