Added when conditions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Administrator 2023-03-14 07:09:30 +01:00
parent 78b51a7257
commit ba806ec67f

View File

@ -3,9 +3,9 @@ pipeline:
image: golang image: golang
commands: commands:
- echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags - echo -n "${CI_COMMIT_BRANCH//\//-}-${CI_COMMIT_SHA:0:8}, latest" > .tags
#when: when:
# path: [ "frontend/**", "backend/**" ] path: [ "frontend/**", "backend/**" ]
# event: push event: push
# -------------------------------------- Backend -------------------------------------- # -------------------------------------- Backend --------------------------------------
@ -22,9 +22,9 @@ pipeline:
from_secret: registry from_secret: registry
dockerfile: Dockerfile.Backend dockerfile: Dockerfile.Backend
platforms: linux/amd64 platforms: linux/amd64
#when: when:
# path: "backend/**" path: "backend/**"
# event: push event: push
# -------------------------------------- Frontend -------------------------------------- # -------------------------------------- Frontend --------------------------------------
@ -41,8 +41,8 @@ pipeline:
from_secret: registry from_secret: registry
dockerfile: Dockerfile.Frontend dockerfile: Dockerfile.Frontend
platforms: linux/amd64 platforms: linux/amd64
#when: when:
# path: "frontend/**" path: "frontend/**"
# event: push event: push
branches: main branches: main