Try this...
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/pr/test unknown status

This commit is contained in:
2026-01-31 12:39:16 -03:00
parent 3d5f79ba08
commit a508d1537e
3 changed files with 17 additions and 14 deletions

View File

@@ -5,8 +5,13 @@ when:
branch: main
event: [push, tag, manual]
depends_on:
- lint
- build
- test
steps:
- name: docker-build
- name: 'Docker image build'
image: docker:latest
environment:
REGISTRY_REPO: git.mifi.dev/mifi-ventures/landing
@@ -25,12 +30,8 @@ steps:
--label "git.branch=${CI_COMMIT_BRANCH}" \
.
- echo "✓ Docker image built successfully"
depends_on:
- lint
- build
- test
- name: push
- name: 'Push to registry'
image: docker:latest
environment:
REGISTRY_URL: git.mifi.dev
@@ -54,9 +55,9 @@ steps:
- docker push $REGISTRY_REPO:latest
- echo "✓ Images pushed successfully"
depends_on:
- docker-build
- 'Docker image build'
- name: deploy
- name: 'Trigger Portainer stack redeploy'
image: curlimages/curl:latest
environment:
PORTAINER_WEBHOOK_URL:
@@ -74,4 +75,4 @@ steps:
fi
echo "✓ Portainer redeploy triggered (HTTP $code)"
depends_on:
- push
- 'Push to registry'