fix kaniko?
This commit is contained in:
parent
82ed517816
commit
0e5cad0e23
1 changed files with 4 additions and 5 deletions
|
|
@ -13,8 +13,7 @@ jobs:
|
|||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
- run:
|
||||
- |
|
||||
- run: |
|
||||
mkdir -p /kaniko/.docker
|
||||
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
|
||||
/kaniko/executor --cache=true --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile-alpine --destination "$CI_REGISTRY_IMAGE/alpine:$CI_COMMIT_BRANCH"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue