mirror of
https://github.com/bitwarden/server.git
synced 2025-05-23 04:21:05 -05:00
fix: docker build context
This commit is contained in:
parent
88159d16bb
commit
fbfd8bf54b
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -48,6 +48,8 @@ jobs:
|
|||||||
node: true
|
node: true
|
||||||
- project_name: Api
|
- project_name: Api
|
||||||
base_path: ./src
|
base_path: ./src
|
||||||
|
- project_name: Attachments
|
||||||
|
base_path: ./util
|
||||||
- project_name: Billing
|
- project_name: Billing
|
||||||
base_path: ./src
|
base_path: ./src
|
||||||
- project_name: Events
|
- project_name: Events
|
||||||
@ -58,21 +60,20 @@ jobs:
|
|||||||
base_path: ./src
|
base_path: ./src
|
||||||
- project_name: Identity
|
- project_name: Identity
|
||||||
base_path: ./src
|
base_path: ./src
|
||||||
|
- project_name: MsSql
|
||||||
|
base_path: ./util
|
||||||
- project_name: MsSqlMigratorUtility
|
- project_name: MsSqlMigratorUtility
|
||||||
base_path: ./util
|
base_path: ./util
|
||||||
dotnet: true
|
- project_name: Nginx
|
||||||
|
base_path: ./util
|
||||||
- project_name: Notifications
|
- project_name: Notifications
|
||||||
base_path: ./src
|
base_path: ./src
|
||||||
- project_name: Scim
|
- project_name: Scim
|
||||||
base_path: ./bitwarden_license/src
|
base_path: ./bitwarden_license/src
|
||||||
dotnet: true
|
|
||||||
- project_name: Server
|
|
||||||
base_path: ./util
|
|
||||||
- project_name: Setup
|
- project_name: Setup
|
||||||
base_path: ./util
|
base_path: ./util
|
||||||
- project_name: Sso
|
- project_name: Sso
|
||||||
base_path: ./bitwarden_license/src
|
base_path: ./bitwarden_license/src
|
||||||
node: true
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check secrets
|
- name: Check secrets
|
||||||
id: check-secrets
|
id: check-secrets
|
||||||
@ -294,9 +295,14 @@ jobs:
|
|||||||
id: build-docker
|
id: build-docker
|
||||||
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
|
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
|
||||||
with:
|
with:
|
||||||
context: ${{ matrix.base_path }}/${{ matrix.project_name }}
|
cache-from: type=registry,ref=${{ steps.cache-name.outputs.name }}
|
||||||
|
cache-to: type=registry,ref=${{ steps.cache-name.outputs.name}},mode=max
|
||||||
|
context: .
|
||||||
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
|
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: |
|
||||||
|
linux/amd64,
|
||||||
|
linux/arm/v7,
|
||||||
|
linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.image-tags.outputs.tags }}
|
tags: ${{ steps.image-tags.outputs.tags }}
|
||||||
secrets: |
|
secrets: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user