This commit is contained in:
parent
fba180c181
commit
a65d564c91
@ -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: ./backend/Dockerfile
|
dockerfile: ./backend/Dockerfile
|
||||||
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: ./frontend/Dockerfile
|
dockerfile: ./frontend/Dockerfile
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
when:
|
#when:
|
||||||
path: "frontend/**"
|
# path: "frontend/**"
|
||||||
event: push
|
# event: push
|
||||||
|
|
||||||
branches: main
|
branches: main
|
||||||
|
Loading…
Reference in New Issue
Block a user