mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
Update lede.yml
This commit is contained in:
parent
1172ab85b3
commit
38ed9a1c16
8
.github/workflows/lede.yml
vendored
8
.github/workflows/lede.yml
vendored
@ -1,12 +1,15 @@
|
||||
name: LEDE Docker Image
|
||||
|
||||
on:
|
||||
watch:
|
||||
types: started
|
||||
push:
|
||||
branches: [ 'main' ]
|
||||
tags: [ 'v*.*.*' ]
|
||||
|
||||
env:
|
||||
REGISTRY: registry.cn-beijing.aliyuncs.com
|
||||
REGION: cn-hongkong
|
||||
REGISTRY: registry.${{ env.REGION }}.aliyuncs.com
|
||||
NAMESPACE: licsber
|
||||
REPOSITORY: github
|
||||
|
||||
@ -23,10 +26,11 @@ jobs:
|
||||
login-server: https://${{ env.REGISTRY }}
|
||||
username: "${{ secrets.ACR_USERNAME }}"
|
||||
password: "${{ secrets.ACR_PASSWD }}"
|
||||
region-id: ${{ env.REGION }}
|
||||
|
||||
- name: Build Base Image
|
||||
env:
|
||||
TAG: ${{ github.sha }}
|
||||
TAG: lede-${{ github.sha }}
|
||||
run: |
|
||||
IMAGE=${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.REPOSITORY }}:${{ env.REPOSITORY }}
|
||||
echo $IMAGE
|
||||
|
Loading…
Reference in New Issue
Block a user