fix: install oras via binary release, not apk (package does not exist)
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
+4
-1
@@ -34,7 +34,10 @@ steps:
|
|||||||
ZOT_PASSWORD:
|
ZOT_PASSWORD:
|
||||||
from_secret: zot_password
|
from_secret: zot_password
|
||||||
commands:
|
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
|
- mkdir -p /tmp/deploy-bundle
|
||||||
- cp compose.yaml secrets.prod.env /tmp/deploy-bundle/
|
- cp compose.yaml secrets.prod.env /tmp/deploy-bundle/
|
||||||
- echo "IMAGE_TAG=${IMAGE_TAG}" > /tmp/deploy-bundle/release.env
|
- echo "IMAGE_TAG=${IMAGE_TAG}" > /tmp/deploy-bundle/release.env
|
||||||
|
|||||||
Reference in New Issue
Block a user