fix(ci): Use CI_WORKSPACE for Kaniko context paths
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -80,8 +80,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=backend
|
--context=${CI_WORKSPACE}/backend
|
||||||
--dockerfile=backend/Dockerfile
|
--dockerfile=${CI_WORKSPACE}/backend/Dockerfile
|
||||||
--destination=git.spdy.io/creationshop/cannaiq:latest
|
--destination=git.spdy.io/creationshop/cannaiq:latest
|
||||||
--destination=git.spdy.io/creationshop/cannaiq:sha-${CI_COMMIT_SHA:0:8}
|
--destination=git.spdy.io/creationshop/cannaiq:sha-${CI_COMMIT_SHA:0:8}
|
||||||
--build-arg=APP_BUILD_VERSION=sha-${CI_COMMIT_SHA:0:8}
|
--build-arg=APP_BUILD_VERSION=sha-${CI_COMMIT_SHA:0:8}
|
||||||
@@ -104,8 +104,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=cannaiq
|
--context=${CI_WORKSPACE}/cannaiq
|
||||||
--dockerfile=cannaiq/Dockerfile
|
--dockerfile=${CI_WORKSPACE}/cannaiq/Dockerfile
|
||||||
--destination=git.spdy.io/creationshop/cannaiq-frontend:latest
|
--destination=git.spdy.io/creationshop/cannaiq-frontend:latest
|
||||||
--destination=git.spdy.io/creationshop/cannaiq-frontend:sha-${CI_COMMIT_SHA:0:8}
|
--destination=git.spdy.io/creationshop/cannaiq-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
--cache=true
|
||||||
@@ -124,8 +124,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=findadispo/frontend
|
--context=${CI_WORKSPACE}/findadispo/frontend
|
||||||
--dockerfile=findadispo/frontend/Dockerfile
|
--dockerfile=${CI_WORKSPACE}/findadispo/frontend/Dockerfile
|
||||||
--destination=git.spdy.io/creationshop/findadispo-frontend:latest
|
--destination=git.spdy.io/creationshop/findadispo-frontend:latest
|
||||||
--destination=git.spdy.io/creationshop/findadispo-frontend:sha-${CI_COMMIT_SHA:0:8}
|
--destination=git.spdy.io/creationshop/findadispo-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
--cache=true
|
||||||
@@ -144,8 +144,8 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||||
- /kaniko/executor
|
- /kaniko/executor
|
||||||
--context=findagram/frontend
|
--context=${CI_WORKSPACE}/findagram/frontend
|
||||||
--dockerfile=findagram/frontend/Dockerfile
|
--dockerfile=${CI_WORKSPACE}/findagram/frontend/Dockerfile
|
||||||
--destination=git.spdy.io/creationshop/findagram-frontend:latest
|
--destination=git.spdy.io/creationshop/findagram-frontend:latest
|
||||||
--destination=git.spdy.io/creationshop/findagram-frontend:sha-${CI_COMMIT_SHA:0:8}
|
--destination=git.spdy.io/creationshop/findagram-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||||
--cache=true
|
--cache=true
|
||||||
|
|||||||
Reference in New Issue
Block a user