diff --git a/.woodpecker.yml b/.woodpecker.yml index b7b2eb3..96eee1b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,10 +2,6 @@ when: - event: [push, pull_request] - path: ["bugulma/frontend/**", ".woodpecker.yml"] -variables: - - &build_args "BUILDKIT_PROGRESS=plain,DOCKER_BUILDKIT=1" - - &harbor_registry "registry.bk.glpx.pro" - steps: # Lint and test frontend frontend-lint: @@ -22,12 +18,14 @@ steps: frontend-build: image: woodpeckerci/plugin-docker-buildx:latest settings: - registry: *harbor_registry - repo: *harbor_registry/turash/turash-frontend + registry: registry.bk.glpx.pro + repo: registry.bk.glpx.pro/turash/turash-frontend dockerfile: bugulma/frontend/Dockerfile context: bugulma/frontend platforms: linux/amd64,linux/arm64 - build_args: *build_args + build_args: + - BUILDKIT_PROGRESS=plain + - DOCKER_BUILDKIT=1 tags: - latest - ${CI_COMMIT_SHA} @@ -53,12 +51,14 @@ steps: backend-build: image: woodpeckerci/plugin-docker-buildx:latest settings: - registry: *harbor_registry - repo: *harbor_registry/turash/turash-backend + registry: registry.bk.glpx.pro + repo: registry.bk.glpx.pro/turash/turash-backend dockerfile: bugulma/backend/Dockerfile context: bugulma/backend platforms: linux/amd64,linux/arm64 - build_args: *build_args + build_args: + - BUILDKIT_PROGRESS=plain + - DOCKER_BUILDKIT=1 tags: - latest - ${CI_COMMIT_SHA}