1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-09 04:30:36 -05:00

Change Docker context

This commit is contained in:
Vince Grassia 2023-11-09 12:39:00 -05:00
parent e78369e70d
commit 0a016b48e3
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08
2 changed files with 4 additions and 4 deletions

View File

@ -308,7 +308,7 @@ jobs:
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1 uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1
with: with:
context: ${{ matrix.base_path }}/${{ matrix.project_name }} context: .
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
platforms: | platforms: |
linux/amd64, linux/amd64,

View File

@ -20,13 +20,13 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | b
RUN npm install -g gulp RUN npm install -g gulp
WORKDIR /source WORKDIR /source
COPY *.csproj . COPY src/Admin/*.csproj .
COPY ../../Directory.Build.props . COPY Directory.Build.props .
# Restore Admin project dependencies and tools # Restore Admin project dependencies and tools
RUN . /tmp/rid.txt && dotnet restore -r $RID RUN . /tmp/rid.txt && dotnet restore -r $RID
COPY . . COPY src/Admin/. .
#COPY ../../.git/. ./.git/ #COPY ../../.git/. ./.git/
# Build Admin app # Build Admin app