@ -13,7 +13,7 @@ jobs:
# Some checks to determine if we need to continue with building a new docker.
# We will skip this check if we are creating a tag, because that has the same hash as a previous run already.
skip_check:
runs-on : ubuntu-22 .04
runs-on : ubuntu-24 .04
if : ${{ github.repository == 'dani-garcia/vaultwarden' }}
outputs:
should_skip : ${{ steps.skip_check.outputs.should_skip }}
@ -27,7 +27,7 @@ jobs:
if : ${{ github.ref_type == 'branch' }}
docker-build:
runs-on : ubuntu-22 .04
runs-on : ubuntu-24 .04
timeout-minutes : 120
needs : skip_check
if : ${{ needs.skip_check.outputs.should_skip != 'true' && github.repository == 'dani-garcia/vaultwarden' }}
@ -69,13 +69,13 @@ jobs:
# Start Docker Buildx
- name : Setup Docker Buildx
uses : docker/setup-buildx-action@aa33708b10e362ff993539393ff100fa93ed6a27 # v3.5.0
uses : docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1
# https://github.com/moby/buildkit/issues/3969
# Also set max parallelism to 3 , the default of 4 breaks GitHub Actions and causes OOMKills
# Also set max parallelism to 2 , the default of 4 breaks GitHub Actions and causes OOMKills
with:
buildkitd-config-inline : |
[ worker.oci]
max-parallelism = 3
max-parallelism = 2
driver-opts : |
network=host
@ -165,7 +165,7 @@ jobs:
echo "CONTAINER_REGISTRIES=${CONTAINER_REGISTRIES:+${CONTAINER_REGISTRIES},}localhost:5000/vaultwarden/server" | tee -a "${GITHUB_ENV}"
- name : Bake ${{ matrix.base_image }} containers
uses : docker/bake-action@a4d7f0b5b91c14a296d792d4ec53a9db17f02e67 # v5.5.0
uses : docker/bake-action@8cea75c238fa977d2ac1fa69d09604b3b740f809 # v5.6.1
env:
BASE_TAGS : "${{ env.BASE_TAGS }}"
SOURCE_COMMIT : "${{ env.SOURCE_COMMIT }}"
@ -223,28 +223,28 @@ jobs:
# Upload artifacts to Github Actions
- name : "Upload amd64 artifact"
uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if : ${{ matrix.base_image == 'alpine' }}
with:
name : vaultwarden-${{ env.SOURCE_VERSION }}-linux-amd64
path : vaultwarden-amd64
- name : "Upload arm64 artifact"
uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if : ${{ matrix.base_image == 'alpine' }}
with:
name : vaultwarden-${{ env.SOURCE_VERSION }}-linux-arm64
path : vaultwarden-arm64
- name : "Upload armv7 artifact"
uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if : ${{ matrix.base_image == 'alpine' }}
with:
name : vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv7
path : vaultwarden-armv7
- name : "Upload armv6 artifact"
uses : actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses : actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
if : ${{ matrix.base_image == 'alpine' }}
with:
name : vaultwarden-${{ env.SOURCE_VERSION }}-linux-armv6