Skip to content

Commit

Permalink
add mirror for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
StardustDL committed Jul 25, 2020
1 parent 12bcfa2 commit 8375e4c
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defaults:
env:
dotnet-version: "3.1.x"
node-version: "12.x"
build_version: "0.0.2.${{ github.run_number }}"
build_version: "0.0.3"

jobs:
pub-images:
Expand Down Expand Up @@ -82,6 +82,42 @@ jobs:
repository: acblog/api
tag_with_ref: true
dockerfile: ./src/AcBlog.Server.Api/Dockerfile
- name: Mirror Client.WebAssembly image
uses: docker/build-push-action@v1
with:
username: StardustDL
password: ${{ secrets.PA_TOKEN }}
registry: docker.pkg.github.com
repository: acblog/acblog/wasm
tag_with_ref: true
dockerfile: ./src/client/AcBlog.Client.WebAssembly/Dockerfile
- name: Mirror Client.WebAssembly.Host image
uses: docker/build-push-action@v1
with:
username: StardustDL
password: ${{ secrets.PA_TOKEN }}
registry: docker.pkg.github.com
repository: acblog/acblog/wasm-host
tag_with_ref: true
dockerfile: ./src/client/AcBlog.Client.WebAssembly.Host/Dockerfile
- name: Mirror Client.Server image
uses: docker/build-push-action@v1
with:
username: StardustDL
password: ${{ secrets.PA_TOKEN }}
registry: docker.pkg.github.com
repository: acblog/acblog/client
tag_with_ref: true
dockerfile: ./src/client/AcBlog.Client.Server/Dockerfile
- name: Mirror Server.Api image
uses: docker/build-push-action@v1
with:
username: StardustDL
password: ${{ secrets.PA_TOKEN }}
registry: docker.pkg.github.com
repository: acblog/acblog/api
tag_with_ref: true
dockerfile: ./src/AcBlog.Server.Api/Dockerfile
pub-pkgs:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 8375e4c

Please sign in to comment.