Files
kemkas-frontend/.woodpecker/build-frontend.yaml
T
morbalint effcdac533
ci/woodpecker/manual/build-frontend Pipeline was successful
ci/woodpecker/manual/e2e Pipeline failed
ci/woodpecker/manual/unit-lint Pipeline was successful
add woodpecker ci pipeline (#1)
Reviewed-on: #1
Co-authored-by: morbalint <balint@morasz.hu>
Co-committed-by: morbalint <balint@morasz.hu>
2026-06-21 18:32:03 +00:00

27 lines
735 B
YAML

when:
- event: [push, manual]
branch: [main]
steps:
prepare-fe-image-tags:
image: alpine:3.21
commands:
- SHORT_SHA="$(echo "$CI_COMMIT_SHA" | cut -c1-8)"
- printf '%s\n' "$SHORT_SHA" > .fe-tags
- printf '%s\n' "latest" >> .fe-tags
build-and-push-fe-image:
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
privileged: true
depends_on:
- prepare-fe-image-tags
settings:
registry: git.cluster.lab.kemkas.hu
repo: git.cluster.lab.kemkas.hu/${CI_REPO}
context: frontend
dockerfile: frontend/Dockerfile
tags_file: .fe-tags
username:
from_secret: gitea_packages_username
password:
from_secret: gitea_packages_token