1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-25 06:42:22 -05:00

Try again for Docker build

This commit is contained in:
Vince Grassia 2023-11-09 13:39:30 -05:00
parent e576528901
commit 93a9f4c9d7
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08
2 changed files with 6 additions and 5 deletions

View File

@ -212,16 +212,17 @@ jobs:
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1 uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with: with:
context: . context: .
file: build.Dockerfile file: build.Dockerfile
load: true
platforms: | platforms: |
linux/amd64, linux/amd64,
linux/arm/v7, linux/arm/v7,
linux/arm64/v8 linux/arm64/v8
push: false # push: false
tags: bitwarden-build tags: bitwarden-build:latest
# secrets: | # secrets: |
# "GH_PAT=${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}" # "GH_PAT=${{ steps.retrieve-secret-pat.outputs.github-pat-bitwarden-devops-bot-repo-scope }}"
@ -342,7 +343,7 @@ jobs:
run: echo "name=${_AZ_REGISTRY}/${PROJECT_NAME}:${IMAGE_TAG}" >> $GITHUB_OUTPUT run: echo "name=${_AZ_REGISTRY}/${PROJECT_NAME}:${IMAGE_TAG}" >> $GITHUB_OUTPUT
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@1104d471370f9806843c095c1db02b5a90c5f8b6 # v3.3.1 uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with: with:
context: . context: .
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile

View File

@ -1,7 +1,7 @@
############################################### ###############################################
# Build stage # # Build stage #
############################################### ###############################################
FROM --platform=$BUILDPLATFORM bitwarden-build AS bitwarden-build FROM --platform=$BUILDPLATFORM bitwarden-build:latest AS bitwarden-build
############################################### ###############################################
# App stage # # App stage #