Compare commits

...

2 commits

Author SHA1 Message Date
7f9fd7a955 Update buildAndPublish.yml 2025-07-31 21:45:11 +01:00
884e1d009c Update buildAndPublish.yml
Some checks failed
ci/woodpecker/manual/buildAndPublish Pipeline failed
2025-07-31 21:36:33 +01:00

View file

@ -2,15 +2,13 @@ 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"
image: woodpeckerci/plugin-docker-buildx
settings:
repo: ghcr.io/codemicro/website
registry: ghcr.io
platforms: linux/amd64
tags:
- latest
- "${CI_COMMIT_SHORT_SHA#'v'}"