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:
|
||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor
|
||||
--context=backend
|
||||
--dockerfile=backend/Dockerfile
|
||||
--context=${CI_WORKSPACE}/backend
|
||||
--dockerfile=${CI_WORKSPACE}/backend/Dockerfile
|
||||
--destination=git.spdy.io/creationshop/cannaiq:latest
|
||||
--destination=git.spdy.io/creationshop/cannaiq:sha-${CI_COMMIT_SHA:0:8}
|
||||
--build-arg=APP_BUILD_VERSION=sha-${CI_COMMIT_SHA:0:8}
|
||||
@@ -104,8 +104,8 @@ steps:
|
||||
commands:
|
||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor
|
||||
--context=cannaiq
|
||||
--dockerfile=cannaiq/Dockerfile
|
||||
--context=${CI_WORKSPACE}/cannaiq
|
||||
--dockerfile=${CI_WORKSPACE}/cannaiq/Dockerfile
|
||||
--destination=git.spdy.io/creationshop/cannaiq-frontend:latest
|
||||
--destination=git.spdy.io/creationshop/cannaiq-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||
--cache=true
|
||||
@@ -124,8 +124,8 @@ steps:
|
||||
commands:
|
||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor
|
||||
--context=findadispo/frontend
|
||||
--dockerfile=findadispo/frontend/Dockerfile
|
||||
--context=${CI_WORKSPACE}/findadispo/frontend
|
||||
--dockerfile=${CI_WORKSPACE}/findadispo/frontend/Dockerfile
|
||||
--destination=git.spdy.io/creationshop/findadispo-frontend:latest
|
||||
--destination=git.spdy.io/creationshop/findadispo-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||
--cache=true
|
||||
@@ -144,8 +144,8 @@ steps:
|
||||
commands:
|
||||
- echo "{\"auths\":{\"git.spdy.io\":{\"username\":\"$REGISTRY_USER\",\"password\":\"$REGISTRY_PASS\"}}}" > /kaniko/.docker/config.json
|
||||
- /kaniko/executor
|
||||
--context=findagram/frontend
|
||||
--dockerfile=findagram/frontend/Dockerfile
|
||||
--context=${CI_WORKSPACE}/findagram/frontend
|
||||
--dockerfile=${CI_WORKSPACE}/findagram/frontend/Dockerfile
|
||||
--destination=git.spdy.io/creationshop/findagram-frontend:latest
|
||||
--destination=git.spdy.io/creationshop/findagram-frontend:sha-${CI_COMMIT_SHA:0:8}
|
||||
--cache=true
|
||||
|
||||
Reference in New Issue
Block a user