mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 15:46:39 +08:00
change docker image url
This commit is contained in:
parent
6daa6e3b17
commit
685f5479a8
6
.github/workflows/dockerToHub.yml
vendored
6
.github/workflows/dockerToHub.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
github-server-url: 'https://gh.sivpn.cn'
|
||||
- name: build and deploy to Docker Hub
|
||||
run: |
|
||||
echo ${{ secrets.DOCKER_PASSWORD }} | docker login registry.gitlab.si.icu -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
echo ${{ secrets.DOCKER_PASSWORD }} | docker login registry.si.icu -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
|
||||
echo "${{ secrets.DOCKER_ENV }}" > .env
|
||||
- name: Get current date
|
||||
run: echo "DATE_TAG=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||
@ -35,8 +35,8 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
registry.gitlab.si.icu/sijinhui/chatgpt-next-web:latest
|
||||
registry.gitlab.si.icu/sijinhui/chatgpt-next-web:${{ env.DATE_TAG }}
|
||||
registry.si.icu/sijinhui/chatgpt-next-web:latest
|
||||
registry.si.icu/sijinhui/chatgpt-next-web:${{ env.DATE_TAG }}
|
||||
- name: clean build history
|
||||
run: |
|
||||
yes | docker system prune --filter "until=720h"
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
chatgpt-next-web:
|
||||
container_name: chatgpt-next-web
|
||||
restart: always
|
||||
image: registry.gitlab.si.icu/sijinhui/chatgpt-next-web
|
||||
image: registry.si.icu/sijinhui/chatgpt-next-web
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
|
Loading…
Reference in New Issue
Block a user