mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
Fix Woodpecker YAML syntax - remove anchor references
This commit is contained in:
parent
b36a27c9c8
commit
561b0fae19
@ -2,10 +2,6 @@ when:
|
|||||||
- event: [push, pull_request]
|
- event: [push, pull_request]
|
||||||
- path: ["bugulma/frontend/**", ".woodpecker.yml"]
|
- path: ["bugulma/frontend/**", ".woodpecker.yml"]
|
||||||
|
|
||||||
variables:
|
|
||||||
- &build_args "BUILDKIT_PROGRESS=plain,DOCKER_BUILDKIT=1"
|
|
||||||
- &harbor_registry "registry.bk.glpx.pro"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Lint and test frontend
|
# Lint and test frontend
|
||||||
frontend-lint:
|
frontend-lint:
|
||||||
@ -22,12 +18,14 @@ steps:
|
|||||||
frontend-build:
|
frontend-build:
|
||||||
image: woodpeckerci/plugin-docker-buildx:latest
|
image: woodpeckerci/plugin-docker-buildx:latest
|
||||||
settings:
|
settings:
|
||||||
registry: *harbor_registry
|
registry: registry.bk.glpx.pro
|
||||||
repo: *harbor_registry/turash/turash-frontend
|
repo: registry.bk.glpx.pro/turash/turash-frontend
|
||||||
dockerfile: bugulma/frontend/Dockerfile
|
dockerfile: bugulma/frontend/Dockerfile
|
||||||
context: bugulma/frontend
|
context: bugulma/frontend
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
build_args: *build_args
|
build_args:
|
||||||
|
- BUILDKIT_PROGRESS=plain
|
||||||
|
- DOCKER_BUILDKIT=1
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${CI_COMMIT_SHA}
|
- ${CI_COMMIT_SHA}
|
||||||
@ -53,12 +51,14 @@ steps:
|
|||||||
backend-build:
|
backend-build:
|
||||||
image: woodpeckerci/plugin-docker-buildx:latest
|
image: woodpeckerci/plugin-docker-buildx:latest
|
||||||
settings:
|
settings:
|
||||||
registry: *harbor_registry
|
registry: registry.bk.glpx.pro
|
||||||
repo: *harbor_registry/turash/turash-backend
|
repo: registry.bk.glpx.pro/turash/turash-backend
|
||||||
dockerfile: bugulma/backend/Dockerfile
|
dockerfile: bugulma/backend/Dockerfile
|
||||||
context: bugulma/backend
|
context: bugulma/backend
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
build_args: *build_args
|
build_args:
|
||||||
|
- BUILDKIT_PROGRESS=plain
|
||||||
|
- DOCKER_BUILDKIT=1
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${CI_COMMIT_SHA}
|
- ${CI_COMMIT_SHA}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user