fix: use map syntax for environment in woodpecker pipeline

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Josh 2026-01-09 01:07:40 +02:00
parent d69342b2e9
commit 0cf1307b08

View file

@ -11,7 +11,7 @@ steps:
- name: build - name: build
image: docker:27-cli image: docker:27-cli
environment: environment:
- DOCKER_HOST=unix:///var/run/docker.sock DOCKER_HOST: unix:///var/run/docker.sock
commands: commands:
- docker build -t 10.0.0.3:5000/writekit:${CI_COMMIT_BRANCH} . - docker build -t 10.0.0.3:5000/writekit:${CI_COMMIT_BRANCH} .
- docker push 10.0.0.3:5000/writekit:${CI_COMMIT_BRANCH} - docker push 10.0.0.3:5000/writekit:${CI_COMMIT_BRANCH}