Skip to content

Commit

Permalink
ci: 修改镜像部署流程
Browse files Browse the repository at this point in the history
  • Loading branch information
WangJunZzz committed Sep 15, 2023
1 parent 437eb3b commit 934939d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ jobs:
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
Expand All @@ -45,7 +34,7 @@ jobs:
- name: Push Lion.AbpPro.HttpApi.Host Image
uses: docker/build-push-action@v2
with:
context: aspnet-core/services/host/Lion.AbpPro.HttpApi.Host
context: aspnet-core
push: true
tags: zzzwangjun/lion.abp.pro:${{ steps.vars.outputs.RELEASE_VERSION }}

Expand Down

0 comments on commit 934939d

Please sign in to comment.