mirror of
https://github.com/xhongc/music-tag-web.git
synced 2026-03-20 04:05:38 +08:00
actions
This commit is contained in:
4
.github/workflows/docker-image.yml
vendored
4
.github/workflows/docker-image.yml
vendored
@@ -8,8 +8,6 @@ env:
|
||||
ALIYUN_NAME_SPACE: "${{ secrets.ALIYUN_NAME_SPACE }}"
|
||||
ALIYUN_REGISTRY_USER: "${{ secrets.ALIYUN_REGISTRY_USER }}"
|
||||
ALIYUN_REGISTRY_PASSWORD: "${{ secrets.ALIYUN_REGISTRY_PASSWORD }}"
|
||||
GHCR_REGISTRY: "ghcr.io"
|
||||
GHCR_NAME_SPACE: "${{ github.actor }}"
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -161,7 +159,7 @@ jobs:
|
||||
|
||||
- name: Build and push image to GHCR
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login $GHCR_REGISTRY -u ${{ github.actor }} --password-stdin
|
||||
echo "${{ secrets.GHCR_TOKEN }}" | docker login $GHCR_REGISTRY -u ${{ github.actor }} --password-stdin
|
||||
# 数据预处理,判断镜像是否重名
|
||||
declare -A duplicate_images
|
||||
declare -A temp_map
|
||||
|
||||
Reference in New Issue
Block a user