mirror of
https://github.com/YuCat-OVO/BaiduNetdisk-Docker
synced 2025-05-10 20:10:04 +08:00
IMAGE_NAME
This commit is contained in:
parent
b55b45fadd
commit
993a235182
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -12,12 +12,11 @@ on:
|
|||||||
- "get_version.py"
|
- "get_version.py"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
IMAGE_NAME: BaiduNetdisk-Docker
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
name: Build AMD64
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -45,8 +44,8 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ env.IMAGE_NAME }}
|
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
|
||||||
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
ghcr.io/${{ github.repository }}
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=${{ steps.set-vars.outputs.VERSION }}
|
type=raw,value=${{ steps.set-vars.outputs.VERSION }}
|
||||||
type=raw,value=${{ steps.set-vars.outputs.BRACH }}
|
type=raw,value=${{ steps.set-vars.outputs.BRACH }}
|
||||||
@ -67,7 +66,7 @@ jobs:
|
|||||||
- name: Login to GHCR
|
- name: Login to GHCR
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user