Skip to content

fix: 修复异常过滤器 #105 #31

fix: 修复异常过滤器 #105

fix: 修复异常过滤器 #105 #31

Workflow file for this run

name: Docker-Images
on:
push:
tags:
- "*"
jobs:
api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dotnet 7.0.304
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
include-prerelease: True
- name: Build
run: dotnet build aspnet-core/Lion.AbpPro.sln
- name: Run Xunit
run: dotnet test aspnet-core/services/test/Lion.AbpPro.Domain.Tests/Lion.AbpPro.Domain.Tests.csproj
- name: Publish Lion.AbpPro.HttpApi.Host
run: dotnet publish aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/Lion.AbpPro.HttpApi.Host.csproj -o aspnet-core/services/host/Lion.AbpPro.HttpApi.Host/publish
- name: Publish Lion.AbpPro.DbMigrator
run: dotnet publish aspnet-core/services/src/Lion.AbpPro.DbMigrator/Lion.AbpPro.DbMigrator.csproj -o aspnet-core/services/src/Lion.AbpPro.DbMigrator/publish
- name: Setting Version
id: vars
run: echo ::set-output name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
# docker login
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# 设置 docker 环境
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# build 并且 push docker 镜像
- name: Push Lion.AbpPro.HttpApi.Host Image
uses: docker/build-push-action@v2
with:
context: aspnet-core/services/host/Lion.AbpPro.HttpApi.Host
push: true
tags: zzzwangjun/lion.abp.pro:${{ steps.vars.outputs.RELEASE_VERSION }}
- name: Push Lion.AbpPro.DbMigrator Image
uses: docker/build-push-action@v2
with:
context: aspnet-core/services/src/Lion.AbpPro.DbMigrator
push: true
tags: zzzwangjun/lion.abp.pro.migrator:${{ steps.vars.outputs.RELEASE_VERSION }}
vben28:
runs-on: ubuntu-latest
needs: api
steps:
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 6.0.2
- name: Build
run: |
cd vben28
pnpm install
npm run build
- name: Setting Version
id: vars
run: echo ::set-output name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
# docker login
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
# 设置 docker 环境
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# build 并且 push docker 镜像
- name: Push Vue3 Image
uses: docker/build-push-action@v2
with:
context: vben28
push: true
tags: zzzwangjun/lion.abp.pro.vben28:${{ steps.vars.outputs.RELEASE_VERSION }}