fix: install oras via binary release, not apk (package does not exist)
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-09-18 20:00:28 +02:00
parent 6bece8e906
commit 6966acd033
+4 -1
View File
@@ -34,7 +34,10 @@ steps:
ZOT_PASSWORD:
from_secret: zot_password
commands:
- apk add --no-cache oras
- apk add --no-cache curl
- curl -sL "https://github.com/oras-project/oras/releases/download/v1.3.4/oras_1.3.4_linux_amd64.tar.gz" -o /tmp/oras.tar.gz
- mkdir -p /tmp/oras-install && tar -xzf /tmp/oras.tar.gz -C /tmp/oras-install
- install /tmp/oras-install/oras /usr/local/bin/oras
- mkdir -p /tmp/deploy-bundle
- cp compose.yaml secrets.prod.env /tmp/deploy-bundle/
- echo "IMAGE_TAG=${IMAGE_TAG}" > /tmp/deploy-bundle/release.env