diff --git a/.woodpecker.yaml b/.woodpecker.yaml index b2eaab7..3033ada 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -55,12 +55,12 @@ steps: image: alpine:latest commands: - apk add --no-cache sed git - - sed -i "s|image:.*hell-world-backend.*|image: registry.gecore.mn/library/hell-world-backend:${CI_COMMIT_SHA:0:8}|g" manifests/backend-deployment.yaml - - sed -i "s|image:.*hell-world-frontend.*|image: registry.gecore.mn/library/hell-world-frontend:${CI_COMMIT_SHA:0:8}|g" manifests/frontend-deployment.yaml + - 'sed -i "s#image:.*hell-world-backend.*#image: registry.gecore.mn/library/hell-world-backend:${CI_COMMIT_SHA:0:8}#g" manifests/backend-deployment.yaml' + - 'sed -i "s#image:.*hell-world-frontend.*#image: registry.gecore.mn/library/hell-world-frontend:${CI_COMMIT_SHA:0:8}#g" manifests/frontend-deployment.yaml' - git config user.email "ci@gecore.mn" - git config user.name "Woodpecker CI" - git add manifests/ - - git commit -m "ci: update images to ${CI_COMMIT_SHA:0:8}" || true + - 'git commit -m "ci: update images to ${CI_COMMIT_SHA:0:8}" || true' - git push origin main || true when: event: push