Deploy pipeline fix
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed

This commit is contained in:
2026-03-12 15:47:22 -03:00
parent c8d7c168c8
commit c912cde7f5

View File

@@ -21,16 +21,16 @@ steps:
commands:
- set -e
- apk add --no-cache jq
- APP_VERSION=$(jq -r .version package.json | sed 's/^v//')
- APP_VERSION=$(jq -r .version package.json | tr -d '\r\n' | sed 's/^v//')
- echo "=== Building Docker image ==="
- 'echo "Commit SHA: ${CI_COMMIT_SHA:0:8}"'
- 'echo "Registry repo: $REGISTRY_REPO"'
- 'echo "App version: $APP_VERSION"'
- |
docker build \
--tag $REGISTRY_REPO:${CI_COMMIT_SHA} \
--tag $REGISTRY_REPO:latest \
--tag $REGISTRY_REPO:${APP_VERSION} \
--tag "${REGISTRY_REPO}:${CI_COMMIT_SHA}" \
--tag "${REGISTRY_REPO}:latest" \
--tag "${REGISTRY_REPO}:${APP_VERSION}" \
--label "git.commit=${CI_COMMIT_SHA}" \
--label "git.branch=${CI_COMMIT_BRANCH}" \
.
@@ -87,7 +87,7 @@ steps:
commands:
- set -e
- apk add --no-cache jq
- APP_VERSION=$(jq -r .version package.json | sed 's/^v//')
- APP_VERSION=$(jq -r .version package.json | tr -d '\r\n' | sed 's/^v//')
- echo "=== Pushing to registry ==="
- 'echo "Registry: $REGISTRY_URL"'
- 'echo "Repository: $REGISTRY_REPO"'