feat: support getting versionInfo in docker (#1673)

* feat: support getting versionInfo in docker

* fix: fix build

* fix: fix build

* fix: fix system
This commit is contained in:
longxu0509
2023-03-21 20:46:17 +08:00
committed by GitHub
parent b3806070ac
commit da7336a9a4
5 changed files with 70 additions and 6 deletions

View File

@ -132,7 +132,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
fetch-depth: -1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
@ -192,6 +192,7 @@ jobs:
uses: docker/build-push-action@v3
if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true'
with:
context: .
target: STANDARD
platforms: linux/amd64,linux/arm64
push: true
@ -201,6 +202,7 @@ jobs:
uses: docker/build-push-action@v3
if: github.repository == 'casdoor/casdoor' && github.event_name == 'push' && steps.should_push.outputs.push=='true'
with:
context: .
target: ALLINONE
platforms: linux/amd64,linux/arm64
push: true