mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-11 21:22:32 +02:00
Further fixes for the release workflow (#6533)
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -362,8 +362,7 @@ jobs:
|
|||||||
- name: Create manifest list, push it and extract digest SHA
|
- name: Create manifest list, push it and extract digest SHA
|
||||||
working-directory: ${{ runner.temp }}/digests
|
working-directory: ${{ runner.temp }}/digests
|
||||||
env:
|
env:
|
||||||
BASE_IMAGE: "${{ matrix.base_image }}"
|
BASE_IMAGE_TAG: "${{ matrix.base_image != 'debian' && format('-{0}', matrix.base_image) || '' }}"
|
||||||
BASE_IMAGE_TAG: "${{ matrix.base_image == 'debian' && '' || format('-{0}', matrix.base_image) }}"
|
|
||||||
BASE_TAGS: "${{ env.BASE_TAGS }}"
|
BASE_TAGS: "${{ env.BASE_TAGS }}"
|
||||||
CONTAINER_REGISTRIES: "${{ env.CONTAINER_REGISTRIES }}"
|
CONTAINER_REGISTRIES: "${{ env.CONTAINER_REGISTRIES }}"
|
||||||
run: |
|
run: |
|
||||||
@@ -376,16 +375,16 @@ jobs:
|
|||||||
|
|
||||||
OUTPUT=$(docker buildx imagetools create \
|
OUTPUT=$(docker buildx imagetools create \
|
||||||
-t "${img}:${tag}${BASE_IMAGE_TAG}" \
|
-t "${img}:${tag}${BASE_IMAGE_TAG}" \
|
||||||
$(printf "${img}:${tag}-${BASE_IMAGE}@sha256:%s " *) 2>&1)
|
$(printf "${img}@sha256:%s " *) 2>&1)
|
||||||
STATUS=$?
|
STATUS=$?
|
||||||
|
|
||||||
if [ ${STATUS} -ne 0 ]; then
|
if [ ${STATUS} -ne 0 ]; then
|
||||||
echo "Manifest creation failed for ${img}"
|
echo "Manifest creation failed for ${img}:${tag}${BASE_IMAGE_TAG}"
|
||||||
echo "${OUTPUT}"
|
echo "${OUTPUT}"
|
||||||
exit ${STATUS}
|
exit ${STATUS}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Manifest created for ${img}"
|
echo "Manifest created for ${img}:${tag}${BASE_IMAGE_TAG}"
|
||||||
echo "${OUTPUT}"
|
echo "${OUTPUT}"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user