Skip to content

Commit 8375e4c

Browse files
committed
add mirror for release workflow
1 parent 12bcfa2 commit 8375e4c

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

.github/workflows/release.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defaults:
1111
env:
1212
dotnet-version: "3.1.x"
1313
node-version: "12.x"
14-
build_version: "0.0.2.${{ github.run_number }}"
14+
build_version: "0.0.3"
1515

1616
jobs:
1717
pub-images:
@@ -82,6 +82,42 @@ jobs:
8282
repository: acblog/api
8383
tag_with_ref: true
8484
dockerfile: ./src/AcBlog.Server.Api/Dockerfile
85+
- name: Mirror Client.WebAssembly image
86+
uses: docker/build-push-action@v1
87+
with:
88+
username: StardustDL
89+
password: ${{ secrets.PA_TOKEN }}
90+
registry: docker.pkg.github.com
91+
repository: acblog/acblog/wasm
92+
tag_with_ref: true
93+
dockerfile: ./src/client/AcBlog.Client.WebAssembly/Dockerfile
94+
- name: Mirror Client.WebAssembly.Host image
95+
uses: docker/build-push-action@v1
96+
with:
97+
username: StardustDL
98+
password: ${{ secrets.PA_TOKEN }}
99+
registry: docker.pkg.github.com
100+
repository: acblog/acblog/wasm-host
101+
tag_with_ref: true
102+
dockerfile: ./src/client/AcBlog.Client.WebAssembly.Host/Dockerfile
103+
- name: Mirror Client.Server image
104+
uses: docker/build-push-action@v1
105+
with:
106+
username: StardustDL
107+
password: ${{ secrets.PA_TOKEN }}
108+
registry: docker.pkg.github.com
109+
repository: acblog/acblog/client
110+
tag_with_ref: true
111+
dockerfile: ./src/client/AcBlog.Client.Server/Dockerfile
112+
- name: Mirror Server.Api image
113+
uses: docker/build-push-action@v1
114+
with:
115+
username: StardustDL
116+
password: ${{ secrets.PA_TOKEN }}
117+
registry: docker.pkg.github.com
118+
repository: acblog/acblog/api
119+
tag_with_ref: true
120+
dockerfile: ./src/AcBlog.Server.Api/Dockerfile
85121
pub-pkgs:
86122
runs-on: ubuntu-latest
87123
steps:

0 commit comments

Comments
 (0)