File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [ "main" ]
66 tags : [ "v*.*.*" ]
7+ workflow_dispatch :
8+
9+ permissions :
10+ contents : read
11+ packages : write
712
813env :
914 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 : true
@@ -28,11 +33,20 @@ jobs:
2833 username : ${{ secrets.DOCKERHUB_USERNAME }}
2934 password : ${{ secrets.DOCKERHUB_TOKEN }}
3035
36+ - name : Log in to GitHub Container Registry
37+ uses : docker/login-action@v3
38+ with :
39+ registry : ghcr.io
40+ username : ${{ github.actor }}
41+ password : ${{ secrets.GITHUB_TOKEN }}
42+
3143 - name : Extract metadata
3244 id : meta
3345 uses : docker/metadata-action@v5
3446 with :
35- images : yujunzhixue/qwen2api
47+ images : |
48+ yujunzhixue/qwen2api
49+ ghcr.io/yujunzhixue/qwen2api
3650 tags : |
3751 type=raw,value=latest,enable={{is_default_branch}}
3852 type=semver,pattern={{version}}
You can’t perform that action at this time.
0 commit comments