More tweaks to pipeline and some script tweaks
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-03-12 15:56:47 -03:00
parent c912cde7f5
commit 0c4823d263
3 changed files with 42 additions and 10 deletions

View File

@@ -28,9 +28,9 @@ steps:
- '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}" \
.
@@ -96,9 +96,9 @@ steps:
echo "$REGISTRY_PASSWORD" | docker login "$REGISTRY_URL" \
-u "$REGISTRY_USERNAME" \
--password-stdin
- 'docker push $REGISTRY_REPO:${CI_COMMIT_SHA}'
- 'docker push $REGISTRY_REPO:$CI_COMMIT_SHA'
- 'docker push $REGISTRY_REPO:latest'
- 'docker push $REGISTRY_REPO:${APP_VERSION}'
- 'docker push $REGISTRY_REPO:$APP_VERSION'
- echo "✓ Images pushed successfully"
depends_on:
- 'Docker image build'