Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfunkt committed Jan 11, 2025
1 parent 411abd3 commit 22d2ac2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,10 @@ jobs:
PLTF=($PLATFORMS)
for DOCKER_ARCH in "${PLTF[@]}"; do
docker create --name "${DOCKER_ARCH}" --platform="linux/${DOCKER_ARCH/v//v}" "localhost:5000/vaultwarden/server:${EXTRACT_TAG}-alpine"
docker create --name "${DOCKER_ARCH}" --platform="linux/${DOCKER_ARCH/v//v}" "localhost:5000/vaultwarden/server:${EXTRACT_TAG}"
docker cp "${DOCKER_ARCH}":/vaultwarden "vaultwarden-${DOCKER_ARCH}-${{ matrix.base_image }}"
docker rm --force "${DOCKER_ARCH}"
docker rmi --force "localhost:5000/vaultwarden/server:${EXTRACT_TAG}-alpine"
docker rmi --force "localhost:5000/vaultwarden/server:${EXTRACT_TAG}"
done
PLATFORMS=$(echo "${{ env.PLATFORMS }}" | tr -d "linux/")
Expand All @@ -301,7 +301,7 @@ jobs:
- name: Cache between jobs
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: vaultwarden-*-${{ matrix.base_image }}
path: vaultwarden-*
key: vaultwarden-binaries-${{ steps.determine-version.outputs.SOURCE_VERSION }}-${{ matrix.base_image }}

upload-artifacts:
Expand All @@ -317,7 +317,7 @@ jobs:
- name: Cache between jobs
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: vaultwarden-*-${{ matrix.base_image }}
path: vaultwarden-*
key: vaultwarden-binaries-${{ needs.docker-build.outputs.source-version }}-${{ matrix.base_image }}

# Upload artifacts to Github Actions
Expand Down

0 comments on commit 22d2ac2

Please sign in to comment.