Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Commit ed88dc9

Browse files
committed
ci: build tag image
1 parent 6f8ecb7 commit ed88dc9

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
name: Build-Code
1+
name: code
22
on:
33
push:
44
branches:
55
- master
66
jobs:
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

.github/workflows/docker-build-runtime.yml renamed to .github/workflows/runtime.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: Build-Runtime
1+
name: runtime
22
on:
33
push:
44
branches:
55
- build
66
jobs:
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

.github/workflows/tag.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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

0 commit comments

Comments
 (0)