Commit 5e43bb87 authored by Albert Salim's avatar Albert Salim

Update kaniko example script

As of kaniko v0.20.0, at least, `/kaniko/.docker/ directory
is not guaranteed to be present,
so we'd need to create it
parent 5f353263
......@@ -82,6 +82,7 @@ store:
```yaml
before_script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- |
echo "-----BEGIN CERTIFICATE-----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment