mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
perf: remove aliyuncs registry
This commit is contained in:
parent
8c9c0f689c
commit
c1bb0dffc5
8
.github/workflows/Deploy.yml
vendored
8
.github/workflows/Deploy.yml
vendored
@ -25,20 +25,12 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Login to AliYun Container Registry
|
|
||||||
uses: docker/login-action@v3
|
|
||||||
with:
|
|
||||||
registry: registry.cn-guangzhou.aliyuncs.com
|
|
||||||
username: ${{ secrets.ALI_USERNAME }}
|
|
||||||
password: ${{ secrets.ALI_TOKEN }}
|
|
||||||
|
|
||||||
- name: Extract metadata (tags, labels) for Docker
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
hamster1963/nezha-dash
|
hamster1963/nezha-dash
|
||||||
registry.cn-guangzhou.aliyuncs.com/hamster-home/nezha-dash
|
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=raw,value=latest
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
version: "3"
|
|
||||||
services:
|
|
||||||
nezha-dash:
|
|
||||||
container_name: nezha-dash
|
|
||||||
image: registry.cn-guangzhou.aliyuncs.com/hamster-home/nezha-dash:latest
|
|
||||||
volumes:
|
|
||||||
- ./.env:/app/.env
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- "4123:3000"
|
|
Loading…
Reference in New Issue
Block a user