website/.woodpecker/buildAndPublish.yml
Abigail Pain 884e1d009c
Some checks failed
ci/woodpecker/manual/buildAndPublish Pipeline failed
Update buildAndPublish.yml
2025-07-31 21:36:33 +01:00

16 lines
362 B
YAML

when:
branch: build
event: manual
services:
- name: dind
image: docker:dind
steps:
- name: Build and publish
image: docker
environment:
IMAGE_NAME: "ghcr.io/codemicro/website"
commands:
- "docker build . --tag ${IMAGE_NAME}:latest --tag ${IMAGE_NAME}:${CI_COMMIT_SHORT_SHA#'v'}"
- "docker push --all-tags $IMAGE_NAME"