This repository was archived by the owner on Nov 26, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed
Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 1- name : Build-Code
1+ name : code
22on :
33 push :
44 branches :
55 - master
66jobs :
7- build-code :
7+ build-code-image :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@master
11- - name : Publish to Registry
11+ - name : build code image
1212 uses : elgohr/Publish-Docker-Github-Action@master
1313 with :
1414 name : ehco1996/aioshadowsocks
1515 username : ${{ secrets.DOCKER_USERNAME }}
1616 password : ${{ secrets.DOCKER_PASSWORD }}
1717 tags : " latest,code"
18+ tag_names : true
1819 dockerfile : Dockerfile.code
Original file line number Diff line number Diff line change 1- name : Build-Runtime
1+ name : runtime
22on :
33 push :
44 branches :
55 - build
66jobs :
7- build-runtime :
7+ build-runtime-image :
88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@master
11- - name : Publish Runtime to Registry
11+ - name : build-runtime-image
1212 uses : elgohr/Publish-Docker-Github-Action@master
1313 with :
1414 name : ehco1996/aioshadowsocks
Original file line number Diff line number Diff line change 1+ name : tag
2+ on :
3+ push :
4+ tags :
5+ - " *"
6+ jobs :
7+ build-tag-image :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@master
11+ - name : build tag image
12+ uses : elgohr/Publish-Docker-Github-Action@master
13+ with :
14+ name : ehco1996/aioshadowsocks
15+ username : ${{ secrets.DOCKER_USERNAME }}
16+ password : ${{ secrets.DOCKER_PASSWORD }}
17+ tag_names : true
18+ dockerfile : Dockerfile.code
You can’t perform that action at this time.
0 commit comments