10. kaniko 构建推送入库
10.1 Git Repository 推送 dockerhub
创建 secrets,关于仓库登陆认证
$ export REGISTRY_SERVER=https://index.docker.io/v1/ $ export REGISTRY_USER=[xxx] $ export REGISTRY_PASS=[xxx] $ export REGISTRY_EMAIL=[xxx] $ kubectl --namespace=default create secret docker-registry regcred --docker-server=$REGISTRY_SERVER --docker-username=$REGISTRY_USER --docker-password=$REGISTRY_PASS --docker-email=$REGISTRY_EMAIL secret/regcred created
编写kaniko-git.yaml
--- apiVersion: v1 kind: Pod metadata: name: kaniko spec: containers: - name: kaniko #image: gcr.io/kaniko-project/executor:debug image: ghostwritten/kaniko-project-executor:debug args: ["--context=git://github.com/ghostwritten/kaniko-demo", "--destination=ghostwritten/devops-toolkit:1.0.0"] volumeMounts: - name: kaniko-secret mountPath: /kaniko/.docker restartPolicy: Never volumes: - name: kaniko-secret secret: secretName: regcred items: - key: .dockerconfigjson path: config.json
$ k apply -f kaniko-git.yaml
输出:
$ k logs -f kaniko Enumerating objects: 193, done. Counting objects: 100% (15/15), done. Compressing objects: 100% (11/11), done. Total 193 (delta 9), reused 4 (delta 4), pack-reused 178 INFO[0005] Resolved base name klakegg/hugo:0.78.2-alpine to build INFO[0005] Using dockerignore file: /kaniko/buildcontext/.dockerignore INFO[0005] Retrieving image manifest klakegg/hugo:0.78.2-alpine INFO[0005] Retrieving image klakegg/hugo:0.78.2-alpine from registry index.docker.io INFO[0008] Retrieving image manifest nginx:1.19.4-alpine INFO[0008] Retrieving image nginx:1.19.4-alpine from registry index.docker.io INFO[0011] Built cross stage deps: map[0:[/src/public]] INFO[0011] Retrieving image manifest klakegg/hugo:0.78.2-alpine INFO[0011] Returning cached image manifest INFO[0011] Executing 0 build triggers INFO[0011] Building stage 'klakegg/hugo:0.78.2-alpine' [idx: '0', base-idx: '-1'] INFO[0011] Unpacking rootfs as cmd RUN apk add -U git requires it. INFO[0019] RUN apk add -U git INFO[0019] Initializing snapshotter ... INFO[0019] Taking snapshot of full filesystem... INFO[0026] Cmd: /bin/sh INFO[0026] Args: [-c apk add -U git] INFO[0026] Running: [/bin/sh -c apk add -U git] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing nghttp2-libs (1.41.0-r0) (3/7) Installing libcurl (7.79.1-r1) (4/7) Installing expat (2.2.10-r4) (5/7) Installing pcre2 (10.35-r0) (6/7) Installing git (2.26.3-r1) (7/7) Installing git-bash-completion (2.26.3-r1) Executing busybox-1.31.1-r19.trigger Executing ca-certificates-20220614-r0.trigger OK: 30 MiB in 30 packages INFO[0033] Taking snapshot of full filesystem... INFO[0037] COPY . /src INFO[0037] Taking snapshot of files... INFO[0038] RUN make init INFO[0038] Cmd: /bin/sh INFO[0038] Args: [-c make init] INFO[0038] Running: [/bin/sh -c make init] git submodule init Submodule 'themes/forty' (https://github.com/MarcusVirg/forty) registered for path 'themes/forty' git submodule update Cloning into '/src/themes/forty'... Submodule path 'themes/forty': checked out 'dccea57bd2ed194942080d650671b47b6df4183c' cp content/img/banner.jpg themes/forty/static/img/. INFO[0043] Taking snapshot of full filesystem... INFO[0048] RUN make build INFO[0048] Cmd: /bin/sh INFO[0048] Args: [-c make build] INFO[0048] Running: [/bin/sh -c make build] hugo Start building sites … | EN -------------------+----- Pages | 19 Paginator pages | 0 Non-page files | 24 Static files | 97 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 195 ms INFO[0048] Taking snapshot of full filesystem... INFO[0052] Saving file src/public for later use INFO[0052] Deleting filesystem... INFO[0052] Retrieving image manifest nginx:1.19.4-alpine INFO[0052] Returning cached image manifest INFO[0052] Executing 0 build triggers INFO[0052] Building stage 'nginx:1.19.4-alpine' [idx: '1', base-idx: '-1'] INFO[0052] Unpacking rootfs as cmd RUN mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html requires it. INFO[0062] RUN mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html INFO[0062] Initializing snapshotter ... INFO[0062] Taking snapshot of full filesystem... INFO[0064] Cmd: /bin/sh INFO[0064] Args: [-c mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html] INFO[0064] Running: [/bin/sh -c mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html] INFO[0064] Taking snapshot of full filesystem... INFO[0064] COPY --from=build /src/public /usr/share/nginx/html INFO[0064] Taking snapshot of files... INFO[0065] EXPOSE 80 INFO[0065] Cmd: EXPOSE INFO[0065] Adding exposed port: 80/tcp INFO[0065] Pushing image to ghostwritten/devops-toolkit:1.0.0 INFO[0084] Pushed index.docker.io/ghostwritten/devops-toolkit@sha256:5fd0a9d47fa14e2dcb702497542992a9a180e67505fd858f02c7359bdc34bd68
推送成功。
清理
k delete -f kaniko-git.yaml
10.2 Local Directory 推送 dockerhub
创建 secrets
,关于仓库登陆认证,步骤同上。
本地目录作为构建空间(workspace)
kaniko-dir.yaml
--- apiVersion: v1 kind: Pod metadata: name: kaniko spec: containers: - name: kaniko # image: gcr.io/kaniko-project/executor:debug image: ghostwritten/kaniko-project-executor:latest args: ["--dockerfile=/workspace/Dockerfile", "--context=dir://workspace", "--destination=ghostwritten/devops-toolkit:1.0.0"] volumeMounts: - name: kaniko-secret mountPath: /kaniko/.docker - name: workspace mountPath: /workspace restartPolicy: Never volumes: - name: kaniko-secret secret: secretName: regcred items: - key: .dockerconfigjson path: config.json - name: workspace hostPath: path: /root/kaniko/kaniko-demo
创建 kaniko pod
$ k apply -f kaniko-dir.yaml pod/kaniko created
跟踪构建镜像日志流程
$ k logs kaniko -f INFO[0000] Downloading base image klakegg/hugo:0.78.2-alpine INFO[0005] Extracting layer 0 INFO[0010] Extracting layer 1 INFO[0014] Extracting layer 2 INFO[0015] Taking snapshot of full filesystem... INFO[0020] RUN apk add -U git INFO[0020] cmd: /bin/sh INFO[0020] args: [-c apk add -U git] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing nghttp2-libs (1.41.0-r0) (3/7) Installing libcurl (7.79.1-r1) (4/7) Installing expat (2.2.10-r4) (5/7) Installing pcre2 (10.35-r0) (6/7) Installing git (2.26.3-r1) (7/7) Installing git-bash-completion (2.26.3-r1) Executing busybox-1.31.1-r19.trigger Executing ca-certificates-20220614-r0.trigger OK: 30 MiB in 30 packages INFO[0057] No files were changed, appending empty layer to config. No layer added to image. INFO[0057] COPY . /src INFO[0057] Creating directory /src INFO[0057] Copying file workspace/.dockerignore to /src/.dockerignore INFO[0057] Creating directory /src/.git INFO[0057] Copying file workspace/.git/HEAD to /src/.git/HEAD INFO[0057] Creating directory /src/.git/branches INFO[0057] Copying file workspace/.git/config to /src/.git/config INFO[0057] Copying file workspace/.git/description to /src/.git/description INFO[0057] Creating directory /src/.git/hooks INFO[0057] Copying file workspace/.git/hooks/applypatch-msg.sample to /src/.git/hooks/applypatch-msg.sample INFO[0057] Copying file workspace/.git/hooks/commit-msg.sample to /src/.git/hooks/commit-msg.sample INFO[0057] Copying file workspace/.git/hooks/fsmonitor-watchman.sample to /src/.git/hooks/fsmonitor-watchman.sample INFO[0057] Copying file workspace/.git/hooks/post-update.sample to /src/.git/hooks/post-update.sample INFO[0057] Copying file workspace/.git/hooks/pre-applypatch.sample to /src/.git/hooks/pre-applypatch.sample INFO[0057] Copying file workspace/.git/hooks/pre-commit.sample to /src/.git/hooks/pre-commit.sample INFO[0057] Copying file workspace/.git/hooks/pre-merge-commit.sample to /src/.git/hooks/pre-merge-commit.sample INFO[0057] Copying file workspace/.git/hooks/pre-push.sample to /src/.git/hooks/pre-push.sample INFO[0057] Copying file workspace/.git/hooks/pre-rebase.sample to /src/.git/hooks/pre-rebase.sample INFO[0057] Copying file workspace/.git/hooks/pre-receive.sample to /src/.git/hooks/pre-receive.sample INFO[0057] Copying file workspace/.git/hooks/prepare-commit-msg.sample to /src/.git/hooks/prepare-commit-msg.sample INFO[0057] Copying file workspace/.git/hooks/push-to-checkout.sample to /src/.git/hooks/push-to-checkout.sample INFO[0057] Copying file workspace/.git/hooks/update.sample to /src/.git/hooks/update.sample INFO[0057] Copying file workspace/.git/index to /src/.git/index INFO[0057] Creating directory /src/.git/info INFO[0057] Copying file workspace/.git/info/exclude to /src/.git/info/exclude INFO[0057] Creating directory /src/.git/logs INFO[0057] Copying file workspace/.git/logs/HEAD to /src/.git/logs/HEAD INFO[0057] Creating directory /src/.git/logs/refs INFO[0057] Creating directory /src/.git/logs/refs/heads INFO[0057] Copying file workspace/.git/logs/refs/heads/master to /src/.git/logs/refs/heads/master INFO[0057] Creating directory /src/.git/logs/refs/remotes INFO[0057] Creating directory /src/.git/logs/refs/remotes/origin INFO[0057] Copying file workspace/.git/logs/refs/remotes/origin/HEAD to /src/.git/logs/refs/remotes/origin/HEAD INFO[0057] Creating directory /src/.git/objects INFO[0057] Creating directory /src/.git/objects/info INFO[0057] Creating directory /src/.git/objects/pack INFO[0057] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx INFO[0057] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack INFO[0058] Copying file workspace/.git/packed-refs to /src/.git/packed-refs INFO[0058] Creating directory /src/.git/refs INFO[0058] Creating directory /src/.git/refs/heads INFO[0058] Copying file workspace/.git/refs/heads/master to /src/.git/refs/heads/master INFO[0058] Creating directory /src/.git/refs/remotes INFO[0058] Creating directory /src/.git/refs/remotes/origin INFO[0058] Copying file workspace/.git/refs/remotes/origin/HEAD to /src/.git/refs/remotes/origin/HEAD INFO[0058] Creating directory /src/.git/refs/tags INFO[0058] Copying file workspace/.gitignore to /src/.gitignore INFO[0058] Copying file workspace/.gitmodules to /src/.gitmodules INFO[0058] Copying file workspace/.gitpod.Dockerfile to /src/.gitpod.Dockerfile INFO[0058] Copying file workspace/.gitpod.yml to /src/.gitpod.yml INFO[0058] Copying file workspace/.helmignore to /src/.helmignore INFO[0058] Copying file workspace/Dockerfile to /src/Dockerfile INFO[0058] Copying file workspace/Makefile to /src/Makefile INFO[0058] Copying file workspace/README.md to /src/README.md INFO[0058] Creating directory /src/archetypes INFO[0058] Copying file workspace/archetypes/default.md to /src/archetypes/default.md INFO[0058] Copying file workspace/codefresh-master.yml to /src/codefresh-master.yml INFO[0058] Copying file workspace/config.toml to /src/config.toml INFO[0058] Creating directory /src/content INFO[0058] Copying file workspace/content/.DS_Store to /src/content/.DS_Store INFO[0058] Creating directory /src/content/img INFO[0058] Copying file workspace/content/img/.DS_Store to /src/content/img/.DS_Store INFO[0058] Copying file workspace/content/img/banner.jpg to /src/content/img/banner.jpg INFO[0058] Copying file workspace/content/img/canary-small.jpg to /src/content/img/canary-small.jpg INFO[0058] Copying file workspace/content/img/canary-smaller.jpg to /src/content/img/canary-smaller.jpg INFO[0058] Copying file workspace/content/img/catalog-small.jpg to /src/content/img/catalog-small.jpg INFO[0058] Copying file workspace/content/img/catalog-smaller.jpg to /src/content/img/catalog-smaller.jpg INFO[0058] Copying file workspace/content/img/chaos-small.jpg to /src/content/img/chaos-small.jpg INFO[0058] Copying file workspace/content/img/chaos-smaller.jpg to /src/content/img/chaos-smaller.jpg INFO[0058] Copying file workspace/content/img/devops20-small.jpg to /src/content/img/devops20-small.jpg INFO[0058] Copying file workspace/content/img/devops20-smaller.jpg to /src/content/img/devops20-smaller.jpg INFO[0058] Copying file workspace/content/img/devops21-small.png to /src/content/img/devops21-small.png INFO[0058] Copying file workspace/content/img/devops21-smaller.png to /src/content/img/devops21-smaller.png INFO[0058] Copying file workspace/content/img/devops22-small.jpg to /src/content/img/devops22-small.jpg INFO[0058] Copying file workspace/content/img/devops22-smaller.jpg to /src/content/img/devops22-smaller.jpg INFO[0058] Copying file workspace/content/img/devops23-small.jpg to /src/content/img/devops23-small.jpg INFO[0058] Copying file workspace/content/img/devops23-smaller.jpg to /src/content/img/devops23-smaller.jpg INFO[0058] Copying file workspace/content/img/devops24-small.jpg to /src/content/img/devops24-small.jpg INFO[0058] Copying file workspace/content/img/devops24-small.png to /src/content/img/devops24-small.png INFO[0058] Copying file workspace/content/img/devops24-smaller.jpg to /src/content/img/devops24-smaller.jpg INFO[0058] Copying file workspace/content/img/devops24-smaller.png to /src/content/img/devops24-smaller.png INFO[0058] Copying file workspace/content/img/devops25-small.jpg to /src/content/img/devops25-small.jpg INFO[0058] Copying file workspace/content/img/devops25-small.png to /src/content/img/devops25-small.png INFO[0058] Copying file workspace/content/img/devops25-smaller.jpg to /src/content/img/devops25-smaller.jpg INFO[0058] Copying file workspace/content/img/devops26-small.jpg to /src/content/img/devops26-small.jpg INFO[0058] Copying file workspace/content/img/devops26-smaller.jpg to /src/content/img/devops26-smaller.jpg INFO[0058] Creating directory /src/content/posts INFO[0058] Copying file workspace/content/posts/canary.md to /src/content/posts/canary.md INFO[0058] Copying file workspace/content/posts/catalog.md to /src/content/posts/catalog.md INFO[0058] Copying file workspace/content/posts/chaos.md to /src/content/posts/chaos.md INFO[0058] Copying file workspace/content/posts/devops-20.md to /src/content/posts/devops-20.md INFO[0058] Copying file workspace/content/posts/devops-21.md to /src/content/posts/devops-21.md INFO[0058] Copying file workspace/content/posts/devops-22.md to /src/content/posts/devops-22.md INFO[0058] Copying file workspace/content/posts/devops-23.md to /src/content/posts/devops-23.md INFO[0058] Copying file workspace/content/posts/devops-24.md to /src/content/posts/devops-24.md INFO[0058] Copying file workspace/content/posts/devops-25.md to /src/content/posts/devops-25.md INFO[0058] Copying file workspace/content/posts/devops-26.md to /src/content/posts/devops-26.md INFO[0058] Copying file workspace/docker-socket.yaml to /src/docker-socket.yaml INFO[0058] Copying file workspace/docker.yaml to /src/docker.yaml INFO[0058] Copying file workspace/kaniko-dir.yaml to /src/kaniko-dir.yaml INFO[0058] Copying file workspace/kaniko-dir.yaml_bak to /src/kaniko-dir.yaml_bak INFO[0058] Copying file workspace/kaniko-git.yaml to /src/kaniko-git.yaml INFO[0058] Creating directory /src/layouts INFO[0058] Creating directory /src/layouts/partials INFO[0058] Copying file workspace/layouts/partials/header.html to /src/layouts/partials/header.html INFO[0058] Creating directory /src/static INFO[0058] Copying file workspace/static/.DS_Store to /src/static/.DS_Store INFO[0058] Creating directory /src/static/css INFO[0058] Copying file workspace/static/css/font-awesome.min.css to /src/static/css/font-awesome.min.css INFO[0058] Copying file workspace/static/css/ie8.css to /src/static/css/ie8.css INFO[0058] Copying file workspace/static/css/ie9.css to /src/static/css/ie9.css INFO[0058] Copying file workspace/static/css/main.css to /src/static/css/main.css INFO[0058] Creating directory /src/static/css-dimension INFO[0058] Copying file workspace/static/css-dimension/bg.jpg to /src/static/css-dimension/bg.jpg INFO[0058] Copying file workspace/static/css-dimension/font-awesome.min.css to /src/static/css-dimension/font-awesome.min.css INFO[0058] Copying file workspace/static/css-dimension/ie9.css to /src/static/css-dimension/ie9.css INFO[0058] Copying file workspace/static/css-dimension/main.css to /src/static/css-dimension/main.css INFO[0058] Copying file workspace/static/css-dimension/noscript.css to /src/static/css-dimension/noscript.css INFO[0058] Copying file workspace/static/css-dimension/overlay.png to /src/static/css-dimension/overlay.png INFO[0058] Copying file workspace/static/css-dimension/project.css to /src/static/css-dimension/project.css INFO[0058] Creating directory /src/static/fonts INFO[0058] Copying file workspace/static/fonts/FontAwesome.otf to /src/static/fonts/FontAwesome.otf INFO[0058] Copying file workspace/static/fonts/fontawesome-webfont.eot to /src/static/fonts/fontawesome-webfont.eot INFO[0058] Copying file workspace/static/fonts/fontawesome-webfont.svg to /src/static/fonts/fontawesome-webfont.svg INFO[0058] Copying file workspace/static/fonts/fontawesome-webfont.ttf to /src/static/fonts/fontawesome-webfont.ttf INFO[0058] Copying file workspace/static/fonts/fontawesome-webfont.woff to /src/static/fonts/fontawesome-webfont.woff INFO[0058] Copying file workspace/static/fonts/fontawesome-webfont.woff2 to /src/static/fonts/fontawesome-webfont.woff2 INFO[0058] Creating directory /src/static/fonts-dimension INFO[0058] Copying file workspace/static/fonts-dimension/FontAwesome.otf to /src/static/fonts-dimension/FontAwesome.otf INFO[0058] Copying file workspace/static/fonts-dimension/fontawesome-webfont.eot to /src/static/fonts-dimension/fontawesome-webfont.eot INFO[0058] Copying file workspace/static/fonts-dimension/fontawesome-webfont.svg to /src/static/fonts-dimension/fontawesome-webfont.svg INFO[0058] Copying file workspace/static/fonts-dimension/fontawesome-webfont.ttf to /src/static/fonts-dimension/fontawesome-webfont.ttf INFO[0058] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff to /src/static/fonts-dimension/fontawesome-webfont.woff INFO[0058] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff2 to /src/static/fonts-dimension/fontawesome-webfont.woff2 INFO[0058] Creating directory /src/static/images INFO[0058] Copying file workspace/static/images/devops22-small.jpg to /src/static/images/devops22-small.jpg INFO[0058] Copying file workspace/static/images/devops22.jpg to /src/static/images/devops22.jpg INFO[0058] Copying file workspace/static/images/devops23-small.jpg to /src/static/images/devops23-small.jpg INFO[0058] Copying file workspace/static/images/viktor.png to /src/static/images/viktor.png INFO[0058] Creating directory /src/static/js INFO[0058] Creating directory /src/static/js/ie INFO[0058] Copying file workspace/static/js/ie/backgroundsize.min.htc to /src/static/js/ie/backgroundsize.min.htc INFO[0058] Copying file workspace/static/js/ie/html5shiv.js to /src/static/js/ie/html5shiv.js INFO[0058] Copying file workspace/static/js/ie/respond.min.js to /src/static/js/ie/respond.min.js INFO[0058] Copying file workspace/static/js/jquery.min.js to /src/static/js/jquery.min.js INFO[0058] Copying file workspace/static/js/jquery.scrollex.min.js to /src/static/js/jquery.scrollex.min.js INFO[0058] Copying file workspace/static/js/jquery.scrolly.min.js to /src/static/js/jquery.scrolly.min.js INFO[0058] Copying file workspace/static/js/main.js to /src/static/js/main.js INFO[0058] Copying file workspace/static/js/skel.min.js to /src/static/js/skel.min.js INFO[0058] Copying file workspace/static/js/util.js to /src/static/js/util.js INFO[0058] Creating directory /src/static/js-dimension INFO[0058] Copying file workspace/static/js-dimension/jquery.min.js to /src/static/js-dimension/jquery.min.js INFO[0058] Copying file workspace/static/js-dimension/main.js to /src/static/js-dimension/main.js INFO[0058] Copying file workspace/static/js-dimension/skel.min.js to /src/static/js-dimension/skel.min.js INFO[0058] Copying file workspace/static/js-dimension/util.js to /src/static/js-dimension/util.js INFO[0058] Creating directory /src/static/sass INFO[0058] Creating directory /src/static/sass/base INFO[0058] Copying file workspace/static/sass/base/_page.scss to /src/static/sass/base/_page.scss INFO[0058] Copying file workspace/static/sass/base/_typography.scss to /src/static/sass/base/_typography.scss INFO[0058] Creating directory /src/static/sass/components INFO[0058] Copying file workspace/static/sass/components/_box.scss to /src/static/sass/components/_box.scss INFO[0058] Copying file workspace/static/sass/components/_button.scss to /src/static/sass/components/_button.scss INFO[0058] Copying file workspace/static/sass/components/_contact-method.scss to /src/static/sass/components/_contact-method.scss INFO[0058] Copying file workspace/static/sass/components/_form.scss to /src/static/sass/components/_form.scss INFO[0058] Copying file workspace/static/sass/components/_icon.scss to /src/static/sass/components/_icon.scss INFO[0058] Copying file workspace/static/sass/components/_image.scss to /src/static/sass/components/_image.scss INFO[0058] Copying file workspace/static/sass/components/_list.scss to /src/static/sass/components/_list.scss INFO[0058] Copying file workspace/static/sass/components/_section.scss to /src/static/sass/components/_section.scss INFO[0058] Copying file workspace/static/sass/components/_spotlights.scss to /src/static/sass/components/_spotlights.scss INFO[0058] Copying file workspace/static/sass/components/_table.scss to /src/static/sass/components/_table.scss INFO[0058] Copying file workspace/static/sass/components/_tiles.scss to /src/static/sass/components/_tiles.scss INFO[0058] Copying file workspace/static/sass/ie8.scss to /src/static/sass/ie8.scss INFO[0058] Copying file workspace/static/sass/ie9.scss to /src/static/sass/ie9.scss INFO[0058] Creating directory /src/static/sass/layout INFO[0058] Copying file workspace/static/sass/layout/_banner.scss to /src/static/sass/layout/_banner.scss INFO[0058] Copying file workspace/static/sass/layout/_contact.scss to /src/static/sass/layout/_contact.scss INFO[0058] Copying file workspace/static/sass/layout/_footer.scss to /src/static/sass/layout/_footer.scss INFO[0058] Copying file workspace/static/sass/layout/_header.scss to /src/static/sass/layout/_header.scss INFO[0058] Copying file workspace/static/sass/layout/_main.scss to /src/static/sass/layout/_main.scss INFO[0058] Copying file workspace/static/sass/layout/_menu.scss to /src/static/sass/layout/_menu.scss INFO[0058] Copying file workspace/static/sass/layout/_wrapper.scss to /src/static/sass/layout/_wrapper.scss INFO[0058] Creating directory /src/static/sass/libs INFO[0058] Copying file workspace/static/sass/libs/_functions.scss to /src/static/sass/libs/_functions.scss INFO[0058] Copying file workspace/static/sass/libs/_mixins.scss to /src/static/sass/libs/_mixins.scss INFO[0058] Copying file workspace/static/sass/libs/_skel.scss to /src/static/sass/libs/_skel.scss INFO[0058] Copying file workspace/static/sass/libs/_vars.scss to /src/static/sass/libs/_vars.scss INFO[0058] Copying file workspace/static/sass/main.scss to /src/static/sass/main.scss INFO[0058] Creating directory /src/static/sass-dimension INFO[0058] Creating directory /src/static/sass-dimension/base INFO[0058] Copying file workspace/static/sass-dimension/base/_page.scss to /src/static/sass-dimension/base/_page.scss INFO[0058] Copying file workspace/static/sass-dimension/base/_typography.scss to /src/static/sass-dimension/base/_typography.scss INFO[0058] Creating directory /src/static/sass-dimension/components INFO[0058] Copying file workspace/static/sass-dimension/components/_box.scss to /src/static/sass-dimension/components/_box.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_button.scss to /src/static/sass-dimension/components/_button.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_form.scss to /src/static/sass-dimension/components/_form.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_icon.scss to /src/static/sass-dimension/components/_icon.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_image.scss to /src/static/sass-dimension/components/_image.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_list.scss to /src/static/sass-dimension/components/_list.scss INFO[0058] Copying file workspace/static/sass-dimension/components/_table.scss to /src/static/sass-dimension/components/_table.scss INFO[0058] Copying file workspace/static/sass-dimension/ie9.scss to /src/static/sass-dimension/ie9.scss INFO[0058] Creating directory /src/static/sass-dimension/layout INFO[0058] Copying file workspace/static/sass-dimension/layout/_bg.scss to /src/static/sass-dimension/layout/_bg.scss INFO[0058] Copying file workspace/static/sass-dimension/layout/_footer.scss to /src/static/sass-dimension/layout/_footer.scss INFO[0058] Copying file workspace/static/sass-dimension/layout/_header.scss to /src/static/sass-dimension/layout/_header.scss INFO[0058] Copying file workspace/static/sass-dimension/layout/_main.scss to /src/static/sass-dimension/layout/_main.scss INFO[0058] Copying file workspace/static/sass-dimension/layout/_wrapper.scss to /src/static/sass-dimension/layout/_wrapper.scss INFO[0058] Creating directory /src/static/sass-dimension/libs INFO[0058] Copying file workspace/static/sass-dimension/libs/_functions.scss to /src/static/sass-dimension/libs/_functions.scss INFO[0058] Copying file workspace/static/sass-dimension/libs/_mixins.scss to /src/static/sass-dimension/libs/_mixins.scss INFO[0058] Copying file workspace/static/sass-dimension/libs/_skel.scss to /src/static/sass-dimension/libs/_skel.scss INFO[0058] Copying file workspace/static/sass-dimension/libs/_vars.scss to /src/static/sass-dimension/libs/_vars.scss INFO[0058] Copying file workspace/static/sass-dimension/main.scss to /src/static/sass-dimension/main.scss INFO[0058] Copying file workspace/static/sass-dimension/noscript.scss to /src/static/sass-dimension/noscript.scss INFO[0058] Creating directory /src/themes INFO[0058] Copying file workspace/themes/.DS_Store to /src/themes/.DS_Store INFO[0058] Creating directory /src/themes/forty INFO[0058] No files were changed, appending empty layer to config. No layer added to image. INFO[0058] RUN make init INFO[0058] cmd: /bin/sh INFO[0058] args: [-c make init] git submodule init Submodule 'themes/forty' (https://github.com/MarcusVirg/forty) registered for path 'themes/forty' git submodule update Cloning into '/src/themes/forty'... Submodule path 'themes/forty': checked out 'dccea57bd2ed194942080d650671b47b6df4183c' cp content/img/banner.jpg themes/forty/static/img/. INFO[0063] No files were changed, appending empty layer to config. No layer added to image. INFO[0063] RUN make build INFO[0063] cmd: /bin/sh INFO[0063] args: [-c make build] hugo Start building sites … | EN -------------------+----- Pages | 19 Paginator pages | 0 Non-page files | 24 Static files | 97 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 196 ms INFO[0064] Taking snapshot of full filesystem... INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/0c4c9b6c.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Global_Chambersign_Root_-_2008.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/76cb8f92.0 INFO[0068] Adding whiteout for /etc/ssl/certs/def36a68.0 INFO[0068] Adding whiteout for /etc/ssl/certs/4a6481c9.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Sonera_Class_2_Root_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/b204d74a.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/d853d49e.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GlobalSign_Root_CA_-_R2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem INFO[0068] Adding whiteout for /etc/ssl/certs/8867006a.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-QuoVadis_Root_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/5c44d531.0 INFO[0068] Adding whiteout for /etc/ssl/certs/1636090b.0 INFO[0068] Adding whiteout for /etc/ssl/certs/080911ac.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G3.pem INFO[0068] Adding whiteout for /etc/ssl/certs/480720ec.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G3.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-EE_Certification_Centre_Root_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-LuxTrust_Global_Root_2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/c01cdfa2.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Universal_Root_Certification_Authority.pem INFO[0068] Adding whiteout for /etc/ssl/certs/7d0b38bd.0 INFO[0068] Adding whiteout for /etc/ssl/certs/6410666e.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Cybertrust_Global_Root.pem INFO[0068] Adding whiteout for /etc/ssl/certs/b1b8a7f3.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Global_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/c47d9980.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-OISTE_WISeKey_Global_Root_GA_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-DST_Root_CA_X3.pem INFO[0068] Adding whiteout for /etc/ssl/certs/2e5ac55d.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem INFO[0068] Adding whiteout for /etc/ssl/certs/2c543cd1.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ad088e1d.0 INFO[0068] Adding whiteout for /etc/ssl/certs/c0ff1f52.0 INFO[0068] Adding whiteout for /etc/ssl/certs/c089bbbd.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Taiwan_GRCA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/116bf586.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G3.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA_2.pem INFO[0068] Adding whiteout for /etc/ssl/certs/128805a3.0 INFO[0068] Adding whiteout for /etc/ssl/certs/2e4eed3c.0 INFO[0068] Adding whiteout for /etc/ssl/certs/5a4d6896.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ba89ed3b.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Trustis_FPS_Root_CA.pem INFO[0068] Adding whiteout for /etc/ssl/certs/9c2e7d30.0 INFO[0068] Adding whiteout for /etc/ssl/certs/e2799e36.0 INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority.pem INFO[0068] Adding whiteout for /etc/ssl/certs/ca-cert-Chambers_of_Commerce_Root_-_2008.pem INFO[0078] Storing source image from stage 0 at path /kaniko/stages/0 INFO[0094] trying to extract to /kaniko/0 INFO[0094] Extracting layer 0 INFO[0096] Extracting layer 1 INFO[0102] Extracting layer 2 INFO[0105] Extracting layer 3 INFO[0106] Deleting filesystem... INFO[0108] Downloading base image nginx:1.19.4-alpine INFO[0112] Extracting layer 0 INFO[0114] Extracting layer 1 INFO[0117] Extracting layer 2 INFO[0118] Extracting layer 3 INFO[0119] Extracting layer 4 INFO[0120] Taking snapshot of full filesystem... INFO[0129] RUN mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html INFO[0129] cmd: /bin/sh INFO[0129] args: [-c mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html] INFO[0129] Taking snapshot of full filesystem... INFO[0130] Adding whiteout for /usr/share/nginx/html/index.html INFO[0132] COPY --from=build /src/public /usr/share/nginx/html INFO[0132] Creating directory /usr/share/nginx/html INFO[0132] Copying file /kaniko/0/src/public/.DS_Store to /usr/share/nginx/html/.DS_Store INFO[0132] Copying file /kaniko/0/src/public/404.html to /usr/share/nginx/html/404.html INFO[0132] Creating directory /usr/share/nginx/html/categories INFO[0132] Copying file /kaniko/0/src/public/categories/index.html to /usr/share/nginx/html/categories/index.html INFO[0132] Copying file /kaniko/0/src/public/categories/index.xml to /usr/share/nginx/html/categories/index.xml INFO[0132] Creating directory /usr/share/nginx/html/css INFO[0132] Copying file /kaniko/0/src/public/css/font-awesome.min.css to /usr/share/nginx/html/css/font-awesome.min.css INFO[0132] Copying file /kaniko/0/src/public/css/ie8.css to /usr/share/nginx/html/css/ie8.css INFO[0132] Copying file /kaniko/0/src/public/css/ie9.css to /usr/share/nginx/html/css/ie9.css INFO[0132] Copying file /kaniko/0/src/public/css/main.css to /usr/share/nginx/html/css/main.css INFO[0132] Creating directory /usr/share/nginx/html/css-dimension INFO[0132] Copying file /kaniko/0/src/public/css-dimension/bg.jpg to /usr/share/nginx/html/css-dimension/bg.jpg INFO[0132] Copying file /kaniko/0/src/public/css-dimension/font-awesome.min.css to /usr/share/nginx/html/css-dimension/font-awesome.min.css INFO[0132] Copying file /kaniko/0/src/public/css-dimension/ie9.css to /usr/share/nginx/html/css-dimension/ie9.css INFO[0132] Copying file /kaniko/0/src/public/css-dimension/main.css to /usr/share/nginx/html/css-dimension/main.css INFO[0132] Copying file /kaniko/0/src/public/css-dimension/noscript.css to /usr/share/nginx/html/css-dimension/noscript.css INFO[0132] Copying file /kaniko/0/src/public/css-dimension/overlay.png to /usr/share/nginx/html/css-dimension/overlay.png INFO[0132] Copying file /kaniko/0/src/public/css-dimension/project.css to /usr/share/nginx/html/css-dimension/project.css INFO[0132] Copying file /kaniko/0/src/public/elements.html to /usr/share/nginx/html/elements.html INFO[0132] Creating directory /usr/share/nginx/html/fonts INFO[0132] Copying file /kaniko/0/src/public/fonts/FontAwesome.otf to /usr/share/nginx/html/fonts/FontAwesome.otf INFO[0132] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.eot to /usr/share/nginx/html/fonts/fontawesome-webfont.eot INFO[0132] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.svg to /usr/share/nginx/html/fonts/fontawesome-webfont.svg INFO[0132] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts/fontawesome-webfont.ttf INFO[0132] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff to /usr/share/nginx/html/fonts/fontawesome-webfont.woff INFO[0132] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts/fontawesome-webfont.woff2 INFO[0132] Creating directory /usr/share/nginx/html/fonts-dimension INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/FontAwesome.otf to /usr/share/nginx/html/fonts-dimension/FontAwesome.otf INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.eot to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.eot INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.svg to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.svg INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.ttf INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff INFO[0132] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff2 INFO[0132] Creating directory /usr/share/nginx/html/images INFO[0132] Copying file /kaniko/0/src/public/images/devops22-small.jpg to /usr/share/nginx/html/images/devops22-small.jpg INFO[0132] Copying file /kaniko/0/src/public/images/devops22.jpg to /usr/share/nginx/html/images/devops22.jpg INFO[0132] Copying file /kaniko/0/src/public/images/devops23-small.jpg to /usr/share/nginx/html/images/devops23-small.jpg INFO[0132] Copying file /kaniko/0/src/public/images/viktor.png to /usr/share/nginx/html/images/viktor.png INFO[0132] Creating directory /usr/share/nginx/html/img INFO[0132] Copying file /kaniko/0/src/public/img/banner.jpg to /usr/share/nginx/html/img/banner.jpg INFO[0132] Copying file /kaniko/0/src/public/img/canary-small.jpg to /usr/share/nginx/html/img/canary-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/canary-smaller.jpg to /usr/share/nginx/html/img/canary-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/catalog-small.jpg to /usr/share/nginx/html/img/catalog-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/catalog-smaller.jpg to /usr/share/nginx/html/img/catalog-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/chaos-small.jpg to /usr/share/nginx/html/img/chaos-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/chaos-smaller.jpg to /usr/share/nginx/html/img/chaos-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops20-small.jpg to /usr/share/nginx/html/img/devops20-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops20-smaller.jpg to /usr/share/nginx/html/img/devops20-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops21-small.png to /usr/share/nginx/html/img/devops21-small.png INFO[0132] Copying file /kaniko/0/src/public/img/devops21-smaller.png to /usr/share/nginx/html/img/devops21-smaller.png INFO[0132] Copying file /kaniko/0/src/public/img/devops22-small.jpg to /usr/share/nginx/html/img/devops22-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops22-smaller.jpg to /usr/share/nginx/html/img/devops22-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops23-small.jpg to /usr/share/nginx/html/img/devops23-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops23-smaller.jpg to /usr/share/nginx/html/img/devops23-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops24-small.jpg to /usr/share/nginx/html/img/devops24-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops24-small.png to /usr/share/nginx/html/img/devops24-small.png INFO[0132] Copying file /kaniko/0/src/public/img/devops24-smaller.jpg to /usr/share/nginx/html/img/devops24-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops24-smaller.png to /usr/share/nginx/html/img/devops24-smaller.png INFO[0132] Copying file /kaniko/0/src/public/img/devops25-small.jpg to /usr/share/nginx/html/img/devops25-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops25-small.png to /usr/share/nginx/html/img/devops25-small.png INFO[0132] Copying file /kaniko/0/src/public/img/devops25-smaller.jpg to /usr/share/nginx/html/img/devops25-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops26-small.jpg to /usr/share/nginx/html/img/devops26-small.jpg INFO[0132] Copying file /kaniko/0/src/public/img/devops26-smaller.jpg to /usr/share/nginx/html/img/devops26-smaller.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic01.jpg to /usr/share/nginx/html/img/pic01.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic02.jpg to /usr/share/nginx/html/img/pic02.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic03.jpg to /usr/share/nginx/html/img/pic03.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic04.jpg to /usr/share/nginx/html/img/pic04.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic05.jpg to /usr/share/nginx/html/img/pic05.jpg INFO[0132] Copying file /kaniko/0/src/public/img/pic06.jpg to /usr/share/nginx/html/img/pic06.jpg INFO[0132] Copying file /kaniko/0/src/public/index.html to /usr/share/nginx/html/index.html INFO[0132] Copying file /kaniko/0/src/public/index.xml to /usr/share/nginx/html/index.xml INFO[0132] Creating directory /usr/share/nginx/html/js INFO[0132] Creating directory /usr/share/nginx/html/js/ie INFO[0132] Copying file /kaniko/0/src/public/js/ie/backgroundsize.min.htc to /usr/share/nginx/html/js/ie/backgroundsize.min.htc INFO[0132] Copying file /kaniko/0/src/public/js/ie/html5shiv.js to /usr/share/nginx/html/js/ie/html5shiv.js INFO[0132] Copying file /kaniko/0/src/public/js/ie/respond.min.js to /usr/share/nginx/html/js/ie/respond.min.js INFO[0132] Copying file /kaniko/0/src/public/js/jquery.min.js to /usr/share/nginx/html/js/jquery.min.js INFO[0132] Copying file /kaniko/0/src/public/js/jquery.scrollex.min.js to /usr/share/nginx/html/js/jquery.scrollex.min.js INFO[0132] Copying file /kaniko/0/src/public/js/jquery.scrolly.min.js to /usr/share/nginx/html/js/jquery.scrolly.min.js INFO[0132] Copying file /kaniko/0/src/public/js/main.js to /usr/share/nginx/html/js/main.js INFO[0132] Copying file /kaniko/0/src/public/js/skel.min.js to /usr/share/nginx/html/js/skel.min.js INFO[0132] Copying file /kaniko/0/src/public/js/util.js to /usr/share/nginx/html/js/util.js INFO[0132] Creating directory /usr/share/nginx/html/js-dimension INFO[0132] Copying file /kaniko/0/src/public/js-dimension/jquery.min.js to /usr/share/nginx/html/js-dimension/jquery.min.js INFO[0132] Copying file /kaniko/0/src/public/js-dimension/main.js to /usr/share/nginx/html/js-dimension/main.js INFO[0132] Copying file /kaniko/0/src/public/js-dimension/skel.min.js to /usr/share/nginx/html/js-dimension/skel.min.js INFO[0132] Copying file /kaniko/0/src/public/js-dimension/util.js to /usr/share/nginx/html/js-dimension/util.js INFO[0132] Creating directory /usr/share/nginx/html/posts INFO[0132] Creating directory /usr/share/nginx/html/posts/canary INFO[0132] Copying file /kaniko/0/src/public/posts/canary/index.html to /usr/share/nginx/html/posts/canary/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/catalog INFO[0132] Copying file /kaniko/0/src/public/posts/catalog/index.html to /usr/share/nginx/html/posts/catalog/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/chaos INFO[0132] Copying file /kaniko/0/src/public/posts/chaos/index.html to /usr/share/nginx/html/posts/chaos/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-20 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-20/index.html to /usr/share/nginx/html/posts/devops-20/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-21 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-21/index.html to /usr/share/nginx/html/posts/devops-21/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-22 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-22/index.html to /usr/share/nginx/html/posts/devops-22/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-23 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-23/index.html to /usr/share/nginx/html/posts/devops-23/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-24 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-24/index.html to /usr/share/nginx/html/posts/devops-24/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-25 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-25/index.html to /usr/share/nginx/html/posts/devops-25/index.html INFO[0132] Creating directory /usr/share/nginx/html/posts/devops-26 INFO[0132] Copying file /kaniko/0/src/public/posts/devops-26/index.html to /usr/share/nginx/html/posts/devops-26/index.html INFO[0132] Copying file /kaniko/0/src/public/posts/index.html to /usr/share/nginx/html/posts/index.html INFO[0132] Copying file /kaniko/0/src/public/posts/index.xml to /usr/share/nginx/html/posts/index.xml INFO[0132] Creating directory /usr/share/nginx/html/sass INFO[0132] Creating directory /usr/share/nginx/html/sass/base INFO[0132] Copying file /kaniko/0/src/public/sass/base/_page.scss to /usr/share/nginx/html/sass/base/_page.scss INFO[0132] Copying file /kaniko/0/src/public/sass/base/_typography.scss to /usr/share/nginx/html/sass/base/_typography.scss INFO[0132] Creating directory /usr/share/nginx/html/sass/components INFO[0132] Copying file /kaniko/0/src/public/sass/components/_box.scss to /usr/share/nginx/html/sass/components/_box.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_button.scss to /usr/share/nginx/html/sass/components/_button.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_contact-method.scss to /usr/share/nginx/html/sass/components/_contact-method.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_form.scss to /usr/share/nginx/html/sass/components/_form.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_icon.scss to /usr/share/nginx/html/sass/components/_icon.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_image.scss to /usr/share/nginx/html/sass/components/_image.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_list.scss to /usr/share/nginx/html/sass/components/_list.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_section.scss to /usr/share/nginx/html/sass/components/_section.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_spotlights.scss to /usr/share/nginx/html/sass/components/_spotlights.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_table.scss to /usr/share/nginx/html/sass/components/_table.scss INFO[0132] Copying file /kaniko/0/src/public/sass/components/_tiles.scss to /usr/share/nginx/html/sass/components/_tiles.scss INFO[0132] Copying file /kaniko/0/src/public/sass/ie8.scss to /usr/share/nginx/html/sass/ie8.scss INFO[0132] Copying file /kaniko/0/src/public/sass/ie9.scss to /usr/share/nginx/html/sass/ie9.scss INFO[0132] Creating directory /usr/share/nginx/html/sass/layout INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_banner.scss to /usr/share/nginx/html/sass/layout/_banner.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_contact.scss to /usr/share/nginx/html/sass/layout/_contact.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_footer.scss to /usr/share/nginx/html/sass/layout/_footer.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_header.scss to /usr/share/nginx/html/sass/layout/_header.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_main.scss to /usr/share/nginx/html/sass/layout/_main.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_menu.scss to /usr/share/nginx/html/sass/layout/_menu.scss INFO[0132] Copying file /kaniko/0/src/public/sass/layout/_wrapper.scss to /usr/share/nginx/html/sass/layout/_wrapper.scss INFO[0132] Creating directory /usr/share/nginx/html/sass/libs INFO[0132] Copying file /kaniko/0/src/public/sass/libs/_functions.scss to /usr/share/nginx/html/sass/libs/_functions.scss INFO[0132] Copying file /kaniko/0/src/public/sass/libs/_mixins.scss to /usr/share/nginx/html/sass/libs/_mixins.scss INFO[0132] Copying file /kaniko/0/src/public/sass/libs/_skel.scss to /usr/share/nginx/html/sass/libs/_skel.scss INFO[0132] Copying file /kaniko/0/src/public/sass/libs/_vars.scss to /usr/share/nginx/html/sass/libs/_vars.scss INFO[0132] Copying file /kaniko/0/src/public/sass/main.scss to /usr/share/nginx/html/sass/main.scss INFO[0132] Creating directory /usr/share/nginx/html/sass-dimension INFO[0132] Creating directory /usr/share/nginx/html/sass-dimension/base INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/base/_page.scss to /usr/share/nginx/html/sass-dimension/base/_page.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/base/_typography.scss to /usr/share/nginx/html/sass-dimension/base/_typography.scss INFO[0132] Creating directory /usr/share/nginx/html/sass-dimension/components INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_box.scss to /usr/share/nginx/html/sass-dimension/components/_box.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_button.scss to /usr/share/nginx/html/sass-dimension/components/_button.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_form.scss to /usr/share/nginx/html/sass-dimension/components/_form.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_icon.scss to /usr/share/nginx/html/sass-dimension/components/_icon.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_image.scss to /usr/share/nginx/html/sass-dimension/components/_image.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_list.scss to /usr/share/nginx/html/sass-dimension/components/_list.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/components/_table.scss to /usr/share/nginx/html/sass-dimension/components/_table.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/ie9.scss to /usr/share/nginx/html/sass-dimension/ie9.scss INFO[0132] Creating directory /usr/share/nginx/html/sass-dimension/layout INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/layout/_bg.scss to /usr/share/nginx/html/sass-dimension/layout/_bg.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/layout/_footer.scss to /usr/share/nginx/html/sass-dimension/layout/_footer.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/layout/_header.scss to /usr/share/nginx/html/sass-dimension/layout/_header.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/layout/_main.scss to /usr/share/nginx/html/sass-dimension/layout/_main.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/layout/_wrapper.scss to /usr/share/nginx/html/sass-dimension/layout/_wrapper.scss INFO[0132] Creating directory /usr/share/nginx/html/sass-dimension/libs INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/libs/_functions.scss to /usr/share/nginx/html/sass-dimension/libs/_functions.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/libs/_mixins.scss to /usr/share/nginx/html/sass-dimension/libs/_mixins.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/libs/_skel.scss to /usr/share/nginx/html/sass-dimension/libs/_skel.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/libs/_vars.scss to /usr/share/nginx/html/sass-dimension/libs/_vars.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/main.scss to /usr/share/nginx/html/sass-dimension/main.scss INFO[0132] Copying file /kaniko/0/src/public/sass-dimension/noscript.scss to /usr/share/nginx/html/sass-dimension/noscript.scss INFO[0132] Copying file /kaniko/0/src/public/sitemap.xml to /usr/share/nginx/html/sitemap.xml INFO[0132] Creating directory /usr/share/nginx/html/tags INFO[0132] Copying file /kaniko/0/src/public/tags/index.html to /usr/share/nginx/html/tags/index.html INFO[0132] Copying file /kaniko/0/src/public/tags/index.xml to /usr/share/nginx/html/tags/index.xml INFO[0132] Taking snapshot of files... INFO[0133] EXPOSE 80 INFO[0133] cmd: EXPOSE INFO[0133] Adding exposed port: 80/tcp INFO[0133] No files changed in this command, skipping snapshotting. INFO[0133] No files were changed, appending empty layer to config. No layer added to image. 2022/11/29 17:05:20 existing blob: sha256:f2dc206a393cd74df3fea6d4c1d3cefe209979e8dbcceb4893ec9eadcc10bc14 2022/11/29 17:05:20 existing blob: sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964 2022/11/29 17:05:20 existing blob: sha256:85defa007a8b33f817a5113210cca4aca6681b721d4b44dc94928c265959d7d5 2022/11/29 17:05:20 existing blob: sha256:0ca72de6f95718a4bd36e45f03fffa98e53819be7e75cb8cd1bcb0705b845939 2022/11/29 17:05:20 existing blob: sha256:9dd8e8e549988a3e2c521f27f805b7a03d909d185bb01cdb4a4029e5a6702919 2022/11/29 17:05:21 pushed blob sha256:424ba847df207f6ca013a0dfe3b10d028e0d1e52513c77bcbdd8083e64f7a2c8 2022/11/29 17:05:22 pushed blob sha256:1c9dc8a83a9b96fb8d0c177eb4d0f72d0599430874321649c53b5a04bcab85eb 2022/11/29 17:05:34 pushed blob sha256:359b4565665ba87176c012a844b8bd20947ae8c16ebcc3ac2ac5e754fb13ad28 2022/11/29 17:05:34 index.docker.io/ghostwritten/devops-toolkit:1.0.0: digest: sha256:194a89239732f85f23d30ce516edd61177eb0c602cc59369001de9482ae64028 size: 1397
构建并推送成功
10.3 Local Directory 推送私有 regsitry
创建 secret
$ harbor-secret-regcred.sh #!/bin/bash REGISTRY_SERVER=https://192.168.10.80:5000/v2/ REGISTRY_USER=registryuser REGISTRY_PASS=registryuserpassword REGISTRY_EMAIL=1zoxun1@gmail.com kubectl --namespace=default create secret docker-registry regcred2 --docker-server=$REGISTRY_SERVER --docker-username=$REGISTRY_USER --docker-password=$REGISTRY_PASS --docker-email=$REGISTRY_EMAIL $ bash harbor-secret-regcred.sh
创建 kaniko-dir-registry.yaml
--- apiVersion: v1 kind: Pod metadata: name: kaniko2 spec: containers: - name: kaniko image: ghostwritten/kaniko-project-executor:latest args: ["--dockerfile=/workspace/Dockerfile", "--context=dir://workspace", "--skip-tls-verify", "--destination=192.168.10.80:5000/devops-toolkit:1.0.0"] volumeMounts: - name: kaniko-secret mountPath: /kaniko/.docker - name: workspace mountPath: /workspace restartPolicy: Never volumes: - name: kaniko-secret secret: secretName: regcred2 items: - key: .dockerconfigjson path: config.json - name: workspace hostPath: path: /root/kaniko/kaniko-demo
创建:
k apply -f kaniko-dir-registry.yaml
输出:
$ k logs -f kaniko2 INFO[0000] Downloading base image klakegg/hugo:0.78.2-alpine 2022/12/01 17:08:51 No matching credentials were found, falling back on anonymous INFO[0005] Extracting layer 0 INFO[0008] Extracting layer 1 INFO[0012] Extracting layer 2 INFO[0014] Taking snapshot of full filesystem... INFO[0018] RUN apk add -U git INFO[0018] cmd: /bin/sh INFO[0018] args: [-c apk add -U git] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing nghttp2-libs (1.41.0-r0) (3/7) Installing libcurl (7.79.1-r1) (4/7) Installing expat (2.2.10-r4) (5/7) Installing pcre2 (10.35-r0) (6/7) Installing git (2.26.3-r1) (7/7) Installing git-bash-completion (2.26.3-r1) Executing busybox-1.31.1-r19.trigger Executing ca-certificates-20220614-r0.trigger OK: 30 MiB in 30 packages INFO[0025] No files were changed, appending empty layer to config. No layer added to image. INFO[0025] COPY . /src INFO[0025] Creating directory /src INFO[0025] Copying file workspace/.dockerignore to /src/.dockerignore INFO[0025] Creating directory /src/.git INFO[0025] Copying file workspace/.git/HEAD to /src/.git/HEAD INFO[0025] Creating directory /src/.git/branches INFO[0025] Copying file workspace/.git/config to /src/.git/config INFO[0025] Copying file workspace/.git/description to /src/.git/description INFO[0025] Creating directory /src/.git/hooks INFO[0025] Copying file workspace/.git/hooks/applypatch-msg.sample to /src/.git/hooks/applypatch-msg.sample INFO[0025] Copying file workspace/.git/hooks/commit-msg.sample to /src/.git/hooks/commit-msg.sample INFO[0025] Copying file workspace/.git/hooks/fsmonitor-watchman.sample to /src/.git/hooks/fsmonitor-watchman.sample INFO[0025] Copying file workspace/.git/hooks/post-update.sample to /src/.git/hooks/post-update.sample INFO[0025] Copying file workspace/.git/hooks/pre-applypatch.sample to /src/.git/hooks/pre-applypatch.sample INFO[0025] Copying file workspace/.git/hooks/pre-commit.sample to /src/.git/hooks/pre-commit.sample INFO[0025] Copying file workspace/.git/hooks/pre-merge-commit.sample to /src/.git/hooks/pre-merge-commit.sample INFO[0026] Copying file workspace/.git/hooks/pre-push.sample to /src/.git/hooks/pre-push.sample INFO[0026] Copying file workspace/.git/hooks/pre-rebase.sample to /src/.git/hooks/pre-rebase.sample INFO[0026] Copying file workspace/.git/hooks/pre-receive.sample to /src/.git/hooks/pre-receive.sample INFO[0026] Copying file workspace/.git/hooks/prepare-commit-msg.sample to /src/.git/hooks/prepare-commit-msg.sample INFO[0026] Copying file workspace/.git/hooks/push-to-checkout.sample to /src/.git/hooks/push-to-checkout.sample INFO[0026] Copying file workspace/.git/hooks/update.sample to /src/.git/hooks/update.sample INFO[0026] Copying file workspace/.git/index to /src/.git/index INFO[0026] Creating directory /src/.git/info INFO[0026] Copying file workspace/.git/info/exclude to /src/.git/info/exclude INFO[0026] Creating directory /src/.git/logs INFO[0026] Copying file workspace/.git/logs/HEAD to /src/.git/logs/HEAD INFO[0026] Creating directory /src/.git/logs/refs INFO[0026] Creating directory /src/.git/logs/refs/heads INFO[0026] Copying file workspace/.git/logs/refs/heads/master to /src/.git/logs/refs/heads/master INFO[0026] Creating directory /src/.git/logs/refs/remotes INFO[0026] Creating directory /src/.git/logs/refs/remotes/origin INFO[0026] Copying file workspace/.git/logs/refs/remotes/origin/HEAD to /src/.git/logs/refs/remotes/origin/HEAD INFO[0026] Creating directory /src/.git/objects INFO[0026] Creating directory /src/.git/objects/info INFO[0026] Creating directory /src/.git/objects/pack INFO[0026] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx INFO[0026] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack INFO[0026] Copying file workspace/.git/packed-refs to /src/.git/packed-refs INFO[0026] Creating directory /src/.git/refs INFO[0026] Creating directory /src/.git/refs/heads INFO[0026] Copying file workspace/.git/refs/heads/master to /src/.git/refs/heads/master INFO[0026] Creating directory /src/.git/refs/remotes INFO[0026] Creating directory /src/.git/refs/remotes/origin INFO[0026] Copying file workspace/.git/refs/remotes/origin/HEAD to /src/.git/refs/remotes/origin/HEAD INFO[0026] Creating directory /src/.git/refs/tags INFO[0026] Copying file workspace/.gitignore to /src/.gitignore INFO[0026] Copying file workspace/.gitmodules to /src/.gitmodules INFO[0026] Copying file workspace/.gitpod.Dockerfile to /src/.gitpod.Dockerfile INFO[0026] Copying file workspace/.gitpod.yml to /src/.gitpod.yml INFO[0026] Copying file workspace/.helmignore to /src/.helmignore INFO[0026] Copying file workspace/Dockerfile to /src/Dockerfile INFO[0026] Copying file workspace/Makefile to /src/Makefile INFO[0026] Copying file workspace/README.md to /src/README.md INFO[0026] Creating directory /src/archetypes INFO[0026] Copying file workspace/archetypes/default.md to /src/archetypes/default.md INFO[0026] Copying file workspace/ca-certificates.crt to /src/ca-certificates.crt INFO[0026] Copying file workspace/codefresh-master.yml to /src/codefresh-master.yml INFO[0026] Copying file workspace/config.json to /src/config.json INFO[0026] Copying file workspace/config.toml to /src/config.toml INFO[0026] Creating directory /src/content INFO[0026] Copying file workspace/content/.DS_Store to /src/content/.DS_Store INFO[0026] Creating directory /src/content/img INFO[0026] Copying file workspace/content/img/.DS_Store to /src/content/img/.DS_Store INFO[0026] Copying file workspace/content/img/banner.jpg to /src/content/img/banner.jpg INFO[0026] Copying file workspace/content/img/canary-small.jpg to /src/content/img/canary-small.jpg INFO[0026] Copying file workspace/content/img/canary-smaller.jpg to /src/content/img/canary-smaller.jpg INFO[0026] Copying file workspace/content/img/catalog-small.jpg to /src/content/img/catalog-small.jpg INFO[0026] Copying file workspace/content/img/catalog-smaller.jpg to /src/content/img/catalog-smaller.jpg INFO[0026] Copying file workspace/content/img/chaos-small.jpg to /src/content/img/chaos-small.jpg INFO[0026] Copying file workspace/content/img/chaos-smaller.jpg to /src/content/img/chaos-smaller.jpg INFO[0026] Copying file workspace/content/img/devops20-small.jpg to /src/content/img/devops20-small.jpg INFO[0026] Copying file workspace/content/img/devops20-smaller.jpg to /src/content/img/devops20-smaller.jpg INFO[0026] Copying file workspace/content/img/devops21-small.png to /src/content/img/devops21-small.png INFO[0026] Copying file workspace/content/img/devops21-smaller.png to /src/content/img/devops21-smaller.png INFO[0026] Copying file workspace/content/img/devops22-small.jpg to /src/content/img/devops22-small.jpg INFO[0026] Copying file workspace/content/img/devops22-smaller.jpg to /src/content/img/devops22-smaller.jpg INFO[0026] Copying file workspace/content/img/devops23-small.jpg to /src/content/img/devops23-small.jpg INFO[0026] Copying file workspace/content/img/devops23-smaller.jpg to /src/content/img/devops23-smaller.jpg INFO[0026] Copying file workspace/content/img/devops24-small.jpg to /src/content/img/devops24-small.jpg INFO[0026] Copying file workspace/content/img/devops24-small.png to /src/content/img/devops24-small.png INFO[0026] Copying file workspace/content/img/devops24-smaller.jpg to /src/content/img/devops24-smaller.jpg INFO[0026] Copying file workspace/content/img/devops24-smaller.png to /src/content/img/devops24-smaller.png INFO[0026] Copying file workspace/content/img/devops25-small.jpg to /src/content/img/devops25-small.jpg INFO[0026] Copying file workspace/content/img/devops25-small.png to /src/content/img/devops25-small.png INFO[0026] Copying file workspace/content/img/devops25-smaller.jpg to /src/content/img/devops25-smaller.jpg INFO[0026] Copying file workspace/content/img/devops26-small.jpg to /src/content/img/devops26-small.jpg INFO[0026] Copying file workspace/content/img/devops26-smaller.jpg to /src/content/img/devops26-smaller.jpg INFO[0026] Creating directory /src/content/posts INFO[0026] Copying file workspace/content/posts/canary.md to /src/content/posts/canary.md INFO[0026] Copying file workspace/content/posts/catalog.md to /src/content/posts/catalog.md INFO[0026] Copying file workspace/content/posts/chaos.md to /src/content/posts/chaos.md INFO[0026] Copying file workspace/content/posts/devops-20.md to /src/content/posts/devops-20.md INFO[0026] Copying file workspace/content/posts/devops-21.md to /src/content/posts/devops-21.md INFO[0026] Copying file workspace/content/posts/devops-22.md to /src/content/posts/devops-22.md INFO[0026] Copying file workspace/content/posts/devops-23.md to /src/content/posts/devops-23.md INFO[0026] Copying file workspace/content/posts/devops-24.md to /src/content/posts/devops-24.md INFO[0026] Copying file workspace/content/posts/devops-25.md to /src/content/posts/devops-25.md INFO[0026] Copying file workspace/content/posts/devops-26.md to /src/content/posts/devops-26.md INFO[0026] Copying file workspace/docker-socket.yaml to /src/docker-socket.yaml INFO[0026] Copying file workspace/docker.yaml to /src/docker.yaml INFO[0026] Copying file workspace/harbor-secret-regcred.sh to /src/harbor-secret-regcred.sh INFO[0026] Copying file workspace/kaniko-dir-harbor.yaml to /src/kaniko-dir-harbor.yaml INFO[0026] Copying file workspace/kaniko-dir.yaml to /src/kaniko-dir.yaml INFO[0026] Copying file workspace/kaniko-dir.yaml_bak to /src/kaniko-dir.yaml_bak INFO[0026] Copying file workspace/kaniko-git-harbor.yaml to /src/kaniko-git-harbor.yaml INFO[0026] Copying file workspace/kaniko-git.yaml to /src/kaniko-git.yaml INFO[0026] Creating directory /src/layouts INFO[0026] Creating directory /src/layouts/partials INFO[0026] Copying file workspace/layouts/partials/header.html to /src/layouts/partials/header.html INFO[0026] Creating directory /src/static INFO[0026] Copying file workspace/static/.DS_Store to /src/static/.DS_Store INFO[0026] Creating directory /src/static/css INFO[0026] Copying file workspace/static/css/font-awesome.min.css to /src/static/css/font-awesome.min.css INFO[0026] Copying file workspace/static/css/ie8.css to /src/static/css/ie8.css INFO[0026] Copying file workspace/static/css/ie9.css to /src/static/css/ie9.css INFO[0026] Copying file workspace/static/css/main.css to /src/static/css/main.css INFO[0026] Creating directory /src/static/css-dimension INFO[0026] Copying file workspace/static/css-dimension/bg.jpg to /src/static/css-dimension/bg.jpg INFO[0026] Copying file workspace/static/css-dimension/font-awesome.min.css to /src/static/css-dimension/font-awesome.min.css INFO[0026] Copying file workspace/static/css-dimension/ie9.css to /src/static/css-dimension/ie9.css INFO[0026] Copying file workspace/static/css-dimension/main.css to /src/static/css-dimension/main.css INFO[0026] Copying file workspace/static/css-dimension/noscript.css to /src/static/css-dimension/noscript.css INFO[0026] Copying file workspace/static/css-dimension/overlay.png to /src/static/css-dimension/overlay.png INFO[0026] Copying file workspace/static/css-dimension/project.css to /src/static/css-dimension/project.css INFO[0026] Creating directory /src/static/fonts INFO[0026] Copying file workspace/static/fonts/FontAwesome.otf to /src/static/fonts/FontAwesome.otf INFO[0026] Copying file workspace/static/fonts/fontawesome-webfont.eot to /src/static/fonts/fontawesome-webfont.eot INFO[0026] Copying file workspace/static/fonts/fontawesome-webfont.svg to /src/static/fonts/fontawesome-webfont.svg INFO[0026] Copying file workspace/static/fonts/fontawesome-webfont.ttf to /src/static/fonts/fontawesome-webfont.ttf INFO[0026] Copying file workspace/static/fonts/fontawesome-webfont.woff to /src/static/fonts/fontawesome-webfont.woff INFO[0026] Copying file workspace/static/fonts/fontawesome-webfont.woff2 to /src/static/fonts/fontawesome-webfont.woff2 INFO[0026] Creating directory /src/static/fonts-dimension INFO[0026] Copying file workspace/static/fonts-dimension/FontAwesome.otf to /src/static/fonts-dimension/FontAwesome.otf INFO[0026] Copying file workspace/static/fonts-dimension/fontawesome-webfont.eot to /src/static/fonts-dimension/fontawesome-webfont.eot INFO[0026] Copying file workspace/static/fonts-dimension/fontawesome-webfont.svg to /src/static/fonts-dimension/fontawesome-webfont.svg INFO[0026] Copying file workspace/static/fonts-dimension/fontawesome-webfont.ttf to /src/static/fonts-dimension/fontawesome-webfont.ttf INFO[0026] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff to /src/static/fonts-dimension/fontawesome-webfont.woff INFO[0026] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff2 to /src/static/fonts-dimension/fontawesome-webfont.woff2 INFO[0026] Creating directory /src/static/images INFO[0026] Copying file workspace/static/images/devops22-small.jpg to /src/static/images/devops22-small.jpg INFO[0026] Copying file workspace/static/images/devops22.jpg to /src/static/images/devops22.jpg INFO[0026] Copying file workspace/static/images/devops23-small.jpg to /src/static/images/devops23-small.jpg INFO[0026] Copying file workspace/static/images/viktor.png to /src/static/images/viktor.png INFO[0026] Creating directory /src/static/js INFO[0026] Creating directory /src/static/js/ie INFO[0026] Copying file workspace/static/js/ie/backgroundsize.min.htc to /src/static/js/ie/backgroundsize.min.htc INFO[0026] Copying file workspace/static/js/ie/html5shiv.js to /src/static/js/ie/html5shiv.js INFO[0026] Copying file workspace/static/js/ie/respond.min.js to /src/static/js/ie/respond.min.js INFO[0026] Copying file workspace/static/js/jquery.min.js to /src/static/js/jquery.min.js INFO[0026] Copying file workspace/static/js/jquery.scrollex.min.js to /src/static/js/jquery.scrollex.min.js INFO[0026] Copying file workspace/static/js/jquery.scrolly.min.js to /src/static/js/jquery.scrolly.min.js INFO[0026] Copying file workspace/static/js/main.js to /src/static/js/main.js INFO[0026] Copying file workspace/static/js/skel.min.js to /src/static/js/skel.min.js INFO[0026] Copying file workspace/static/js/util.js to /src/static/js/util.js INFO[0026] Creating directory /src/static/js-dimension INFO[0026] Copying file workspace/static/js-dimension/jquery.min.js to /src/static/js-dimension/jquery.min.js INFO[0026] Copying file workspace/static/js-dimension/main.js to /src/static/js-dimension/main.js INFO[0026] Copying file workspace/static/js-dimension/skel.min.js to /src/static/js-dimension/skel.min.js INFO[0026] Copying file workspace/static/js-dimension/util.js to /src/static/js-dimension/util.js INFO[0026] Creating directory /src/static/sass INFO[0026] Creating directory /src/static/sass/base INFO[0026] Copying file workspace/static/sass/base/_page.scss to /src/static/sass/base/_page.scss INFO[0026] Copying file workspace/static/sass/base/_typography.scss to /src/static/sass/base/_typography.scss INFO[0026] Creating directory /src/static/sass/components INFO[0026] Copying file workspace/static/sass/components/_box.scss to /src/static/sass/components/_box.scss INFO[0026] Copying file workspace/static/sass/components/_button.scss to /src/static/sass/components/_button.scss INFO[0026] Copying file workspace/static/sass/components/_contact-method.scss to /src/static/sass/components/_contact-method.scss INFO[0026] Copying file workspace/static/sass/components/_form.scss to /src/static/sass/components/_form.scss INFO[0026] Copying file workspace/static/sass/components/_icon.scss to /src/static/sass/components/_icon.scss INFO[0026] Copying file workspace/static/sass/components/_image.scss to /src/static/sass/components/_image.scss INFO[0026] Copying file workspace/static/sass/components/_list.scss to /src/static/sass/components/_list.scss INFO[0026] Copying file workspace/static/sass/components/_section.scss to /src/static/sass/components/_section.scss INFO[0026] Copying file workspace/static/sass/components/_spotlights.scss to /src/static/sass/components/_spotlights.scss INFO[0026] Copying file workspace/static/sass/components/_table.scss to /src/static/sass/components/_table.scss INFO[0026] Copying file workspace/static/sass/components/_tiles.scss to /src/static/sass/components/_tiles.scss INFO[0026] Copying file workspace/static/sass/ie8.scss to /src/static/sass/ie8.scss INFO[0026] Copying file workspace/static/sass/ie9.scss to /src/static/sass/ie9.scss INFO[0026] Creating directory /src/static/sass/layout INFO[0026] Copying file workspace/static/sass/layout/_banner.scss to /src/static/sass/layout/_banner.scss INFO[0026] Copying file workspace/static/sass/layout/_contact.scss to /src/static/sass/layout/_contact.scss INFO[0026] Copying file workspace/static/sass/layout/_footer.scss to /src/static/sass/layout/_footer.scss INFO[0026] Copying file workspace/static/sass/layout/_header.scss to /src/static/sass/layout/_header.scss INFO[0026] Copying file workspace/static/sass/layout/_main.scss to /src/static/sass/layout/_main.scss INFO[0026] Copying file workspace/static/sass/layout/_menu.scss to /src/static/sass/layout/_menu.scss INFO[0026] Copying file workspace/static/sass/layout/_wrapper.scss to /src/static/sass/layout/_wrapper.scss INFO[0026] Creating directory /src/static/sass/libs INFO[0026] Copying file workspace/static/sass/libs/_functions.scss to /src/static/sass/libs/_functions.scss INFO[0026] Copying file workspace/static/sass/libs/_mixins.scss to /src/static/sass/libs/_mixins.scss INFO[0026] Copying file workspace/static/sass/libs/_skel.scss to /src/static/sass/libs/_skel.scss INFO[0026] Copying file workspace/static/sass/libs/_vars.scss to /src/static/sass/libs/_vars.scss INFO[0026] Copying file workspace/static/sass/main.scss to /src/static/sass/main.scss INFO[0026] Creating directory /src/static/sass-dimension INFO[0026] Creating directory /src/static/sass-dimension/base INFO[0026] Copying file workspace/static/sass-dimension/base/_page.scss to /src/static/sass-dimension/base/_page.scss INFO[0026] Copying file workspace/static/sass-dimension/base/_typography.scss to /src/static/sass-dimension/base/_typography.scss INFO[0026] Creating directory /src/static/sass-dimension/components INFO[0026] Copying file workspace/static/sass-dimension/components/_box.scss to /src/static/sass-dimension/components/_box.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_button.scss to /src/static/sass-dimension/components/_button.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_form.scss to /src/static/sass-dimension/components/_form.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_icon.scss to /src/static/sass-dimension/components/_icon.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_image.scss to /src/static/sass-dimension/components/_image.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_list.scss to /src/static/sass-dimension/components/_list.scss INFO[0026] Copying file workspace/static/sass-dimension/components/_table.scss to /src/static/sass-dimension/components/_table.scss INFO[0026] Copying file workspace/static/sass-dimension/ie9.scss to /src/static/sass-dimension/ie9.scss INFO[0026] Creating directory /src/static/sass-dimension/layout INFO[0026] Copying file workspace/static/sass-dimension/layout/_bg.scss to /src/static/sass-dimension/layout/_bg.scss INFO[0026] Copying file workspace/static/sass-dimension/layout/_footer.scss to /src/static/sass-dimension/layout/_footer.scss INFO[0026] Copying file workspace/static/sass-dimension/layout/_header.scss to /src/static/sass-dimension/layout/_header.scss INFO[0026] Copying file workspace/static/sass-dimension/layout/_main.scss to /src/static/sass-dimension/layout/_main.scss INFO[0026] Copying file workspace/static/sass-dimension/layout/_wrapper.scss to /src/static/sass-dimension/layout/_wrapper.scss INFO[0026] Creating directory /src/static/sass-dimension/libs INFO[0026] Copying file workspace/static/sass-dimension/libs/_functions.scss to /src/static/sass-dimension/libs/_functions.scss INFO[0026] Copying file workspace/static/sass-dimension/libs/_mixins.scss to /src/static/sass-dimension/libs/_mixins.scss INFO[0026] Copying file workspace/static/sass-dimension/libs/_skel.scss to /src/static/sass-dimension/libs/_skel.scss INFO[0026] Copying file workspace/static/sass-dimension/libs/_vars.scss to /src/static/sass-dimension/libs/_vars.scss INFO[0026] Copying file workspace/static/sass-dimension/main.scss to /src/static/sass-dimension/main.scss INFO[0026] Copying file workspace/static/sass-dimension/noscript.scss to /src/static/sass-dimension/noscript.scss INFO[0026] Creating directory /src/themes INFO[0026] Copying file workspace/themes/.DS_Store to /src/themes/.DS_Store INFO[0026] Creating directory /src/themes/forty INFO[0026] No files were changed, appending empty layer to config. No layer added to image. INFO[0026] RUN make init INFO[0026] cmd: /bin/sh INFO[0026] args: [-c make init] git submodule init Submodule 'themes/forty' (https://github.com/MarcusVirg/forty) registered for path 'themes/forty' git submodule update Cloning into '/src/themes/forty'... Submodule path 'themes/forty': checked out 'dccea57bd2ed194942080d650671b47b6df4183c' cp content/img/banner.jpg themes/forty/static/img/. INFO[0032] No files were changed, appending empty layer to config. No layer added to image. INFO[0032] RUN make build INFO[0032] cmd: /bin/sh INFO[0032] args: [-c make build] hugo Start building sites … | EN -------------------+----- Pages | 19 Paginator pages | 0 Non-page files | 24 Static files | 97 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 170 ms INFO[0033] Taking snapshot of full filesystem... INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G2.pem INFO[0036] Adding whiteout for /etc/ssl/certs/c47d9980.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ad088e1d.0 INFO[0036] Adding whiteout for /etc/ssl/certs/5c44d531.0 INFO[0036] Adding whiteout for /etc/ssl/certs/b1b8a7f3.0 INFO[0036] Adding whiteout for /etc/ssl/certs/c01cdfa2.0 INFO[0036] Adding whiteout for /etc/ssl/certs/8867006a.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GlobalSign_Root_CA_-_R2.pem INFO[0036] Adding whiteout for /etc/ssl/certs/b204d74a.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G3.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-QuoVadis_Root_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Chambers_of_Commerce_Root_-_2008.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA_2.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G2.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Sonera_Class_2_Root_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G3.pem INFO[0036] Adding whiteout for /etc/ssl/certs/e2799e36.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G3.pem INFO[0036] Adding whiteout for /etc/ssl/certs/c0ff1f52.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/128805a3.0 INFO[0036] Adding whiteout for /etc/ssl/certs/6410666e.0 INFO[0036] Adding whiteout for /etc/ssl/certs/d853d49e.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-OISTE_WISeKey_Global_Root_GA_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/def36a68.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-DST_Root_CA_X3.pem INFO[0036] Adding whiteout for /etc/ssl/certs/9c2e7d30.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Global_Chambersign_Root_-_2008.pem INFO[0036] Adding whiteout for /etc/ssl/certs/2c543cd1.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Cybertrust_Global_Root.pem INFO[0036] Adding whiteout for /etc/ssl/certs/116bf586.0 INFO[0036] Adding whiteout for /etc/ssl/certs/2e5ac55d.0 INFO[0036] Adding whiteout for /etc/ssl/certs/c089bbbd.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G2.pem INFO[0036] Adding whiteout for /etc/ssl/certs/2e4eed3c.0 INFO[0036] Adding whiteout for /etc/ssl/certs/7d0b38bd.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ba89ed3b.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority.pem INFO[0036] Adding whiteout for /etc/ssl/certs/080911ac.0 INFO[0036] Adding whiteout for /etc/ssl/certs/4a6481c9.0 INFO[0036] Adding whiteout for /etc/ssl/certs/480720ec.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Global_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Trustis_FPS_Root_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/5a4d6896.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Taiwan_GRCA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Universal_Root_Certification_Authority.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem INFO[0036] Adding whiteout for /etc/ssl/certs/0c4c9b6c.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-EE_Certification_Centre_Root_CA.pem INFO[0036] Adding whiteout for /etc/ssl/certs/76cb8f92.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem INFO[0036] Adding whiteout for /etc/ssl/certs/1636090b.0 INFO[0036] Adding whiteout for /etc/ssl/certs/ca-cert-LuxTrust_Global_Root_2.pem INFO[0046] Storing source image from stage 0 at path /kaniko/stages/0 INFO[0056] trying to extract to /kaniko/0 INFO[0056] Extracting layer 0 INFO[0058] Extracting layer 1 INFO[0100] Extracting layer 2 INFO[0104] Extracting layer 3 INFO[0105] Deleting filesystem... INFO[0107] Downloading base image nginx:1.19.4-alpine 2022/12/01 17:10:38 No matching credentials were found, falling back on anonymous INFO[0111] Extracting layer 0 INFO[0116] Extracting layer 1 INFO[0127] Extracting layer 2 INFO[0128] Extracting layer 3 INFO[0129] Extracting layer 4 INFO[0130] Taking snapshot of full filesystem... INFO[0137] RUN mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html INFO[0137] cmd: /bin/sh INFO[0137] args: [-c mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html] INFO[0137] Taking snapshot of full filesystem... INFO[0139] Adding whiteout for /usr/share/nginx/html/index.html INFO[0140] COPY --from=build /src/public /usr/share/nginx/html INFO[0140] Creating directory /usr/share/nginx/html INFO[0140] Copying file /kaniko/0/src/public/.DS_Store to /usr/share/nginx/html/.DS_Store INFO[0140] Copying file /kaniko/0/src/public/404.html to /usr/share/nginx/html/404.html INFO[0140] Creating directory /usr/share/nginx/html/categories INFO[0140] Copying file /kaniko/0/src/public/categories/index.html to /usr/share/nginx/html/categories/index.html INFO[0140] Copying file /kaniko/0/src/public/categories/index.xml to /usr/share/nginx/html/categories/index.xml INFO[0140] Creating directory /usr/share/nginx/html/css INFO[0140] Copying file /kaniko/0/src/public/css/font-awesome.min.css to /usr/share/nginx/html/css/font-awesome.min.css INFO[0140] Copying file /kaniko/0/src/public/css/ie8.css to /usr/share/nginx/html/css/ie8.css INFO[0140] Copying file /kaniko/0/src/public/css/ie9.css to /usr/share/nginx/html/css/ie9.css INFO[0140] Copying file /kaniko/0/src/public/css/main.css to /usr/share/nginx/html/css/main.css INFO[0140] Creating directory /usr/share/nginx/html/css-dimension INFO[0140] Copying file /kaniko/0/src/public/css-dimension/bg.jpg to /usr/share/nginx/html/css-dimension/bg.jpg INFO[0140] Copying file /kaniko/0/src/public/css-dimension/font-awesome.min.css to /usr/share/nginx/html/css-dimension/font-awesome.min.css INFO[0140] Copying file /kaniko/0/src/public/css-dimension/ie9.css to /usr/share/nginx/html/css-dimension/ie9.css INFO[0140] Copying file /kaniko/0/src/public/css-dimension/main.css to /usr/share/nginx/html/css-dimension/main.css INFO[0140] Copying file /kaniko/0/src/public/css-dimension/noscript.css to /usr/share/nginx/html/css-dimension/noscript.css INFO[0140] Copying file /kaniko/0/src/public/css-dimension/overlay.png to /usr/share/nginx/html/css-dimension/overlay.png INFO[0140] Copying file /kaniko/0/src/public/css-dimension/project.css to /usr/share/nginx/html/css-dimension/project.css INFO[0140] Copying file /kaniko/0/src/public/elements.html to /usr/share/nginx/html/elements.html INFO[0140] Creating directory /usr/share/nginx/html/fonts INFO[0140] Copying file /kaniko/0/src/public/fonts/FontAwesome.otf to /usr/share/nginx/html/fonts/FontAwesome.otf INFO[0140] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.eot to /usr/share/nginx/html/fonts/fontawesome-webfont.eot INFO[0140] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.svg to /usr/share/nginx/html/fonts/fontawesome-webfont.svg INFO[0140] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts/fontawesome-webfont.ttf INFO[0140] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff to /usr/share/nginx/html/fonts/fontawesome-webfont.woff INFO[0140] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts/fontawesome-webfont.woff2 INFO[0140] Creating directory /usr/share/nginx/html/fonts-dimension INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/FontAwesome.otf to /usr/share/nginx/html/fonts-dimension/FontAwesome.otf INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.eot to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.eot INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.svg to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.svg INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.ttf INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff INFO[0140] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff2 INFO[0140] Creating directory /usr/share/nginx/html/images INFO[0140] Copying file /kaniko/0/src/public/images/devops22-small.jpg to /usr/share/nginx/html/images/devops22-small.jpg INFO[0140] Copying file /kaniko/0/src/public/images/devops22.jpg to /usr/share/nginx/html/images/devops22.jpg INFO[0140] Copying file /kaniko/0/src/public/images/devops23-small.jpg to /usr/share/nginx/html/images/devops23-small.jpg INFO[0140] Copying file /kaniko/0/src/public/images/viktor.png to /usr/share/nginx/html/images/viktor.png INFO[0140] Creating directory /usr/share/nginx/html/img INFO[0140] Copying file /kaniko/0/src/public/img/banner.jpg to /usr/share/nginx/html/img/banner.jpg INFO[0140] Copying file /kaniko/0/src/public/img/canary-small.jpg to /usr/share/nginx/html/img/canary-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/canary-smaller.jpg to /usr/share/nginx/html/img/canary-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/catalog-small.jpg to /usr/share/nginx/html/img/catalog-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/catalog-smaller.jpg to /usr/share/nginx/html/img/catalog-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/chaos-small.jpg to /usr/share/nginx/html/img/chaos-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/chaos-smaller.jpg to /usr/share/nginx/html/img/chaos-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops20-small.jpg to /usr/share/nginx/html/img/devops20-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops20-smaller.jpg to /usr/share/nginx/html/img/devops20-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops21-small.png to /usr/share/nginx/html/img/devops21-small.png INFO[0140] Copying file /kaniko/0/src/public/img/devops21-smaller.png to /usr/share/nginx/html/img/devops21-smaller.png INFO[0140] Copying file /kaniko/0/src/public/img/devops22-small.jpg to /usr/share/nginx/html/img/devops22-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops22-smaller.jpg to /usr/share/nginx/html/img/devops22-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops23-small.jpg to /usr/share/nginx/html/img/devops23-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops23-smaller.jpg to /usr/share/nginx/html/img/devops23-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops24-small.jpg to /usr/share/nginx/html/img/devops24-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops24-small.png to /usr/share/nginx/html/img/devops24-small.png INFO[0140] Copying file /kaniko/0/src/public/img/devops24-smaller.jpg to /usr/share/nginx/html/img/devops24-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops24-smaller.png to /usr/share/nginx/html/img/devops24-smaller.png INFO[0140] Copying file /kaniko/0/src/public/img/devops25-small.jpg to /usr/share/nginx/html/img/devops25-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops25-small.png to /usr/share/nginx/html/img/devops25-small.png INFO[0140] Copying file /kaniko/0/src/public/img/devops25-smaller.jpg to /usr/share/nginx/html/img/devops25-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops26-small.jpg to /usr/share/nginx/html/img/devops26-small.jpg INFO[0140] Copying file /kaniko/0/src/public/img/devops26-smaller.jpg to /usr/share/nginx/html/img/devops26-smaller.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic01.jpg to /usr/share/nginx/html/img/pic01.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic02.jpg to /usr/share/nginx/html/img/pic02.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic03.jpg to /usr/share/nginx/html/img/pic03.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic04.jpg to /usr/share/nginx/html/img/pic04.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic05.jpg to /usr/share/nginx/html/img/pic05.jpg INFO[0140] Copying file /kaniko/0/src/public/img/pic06.jpg to /usr/share/nginx/html/img/pic06.jpg INFO[0140] Copying file /kaniko/0/src/public/index.html to /usr/share/nginx/html/index.html INFO[0140] Copying file /kaniko/0/src/public/index.xml to /usr/share/nginx/html/index.xml INFO[0140] Creating directory /usr/share/nginx/html/js INFO[0140] Creating directory /usr/share/nginx/html/js/ie INFO[0140] Copying file /kaniko/0/src/public/js/ie/backgroundsize.min.htc to /usr/share/nginx/html/js/ie/backgroundsize.min.htc INFO[0140] Copying file /kaniko/0/src/public/js/ie/html5shiv.js to /usr/share/nginx/html/js/ie/html5shiv.js INFO[0140] Copying file /kaniko/0/src/public/js/ie/respond.min.js to /usr/share/nginx/html/js/ie/respond.min.js INFO[0140] Copying file /kaniko/0/src/public/js/jquery.min.js to /usr/share/nginx/html/js/jquery.min.js INFO[0140] Copying file /kaniko/0/src/public/js/jquery.scrollex.min.js to /usr/share/nginx/html/js/jquery.scrollex.min.js INFO[0140] Copying file /kaniko/0/src/public/js/jquery.scrolly.min.js to /usr/share/nginx/html/js/jquery.scrolly.min.js INFO[0140] Copying file /kaniko/0/src/public/js/main.js to /usr/share/nginx/html/js/main.js INFO[0140] Copying file /kaniko/0/src/public/js/skel.min.js to /usr/share/nginx/html/js/skel.min.js INFO[0140] Copying file /kaniko/0/src/public/js/util.js to /usr/share/nginx/html/js/util.js INFO[0140] Creating directory /usr/share/nginx/html/js-dimension INFO[0140] Copying file /kaniko/0/src/public/js-dimension/jquery.min.js to /usr/share/nginx/html/js-dimension/jquery.min.js INFO[0140] Copying file /kaniko/0/src/public/js-dimension/main.js to /usr/share/nginx/html/js-dimension/main.js INFO[0140] Copying file /kaniko/0/src/public/js-dimension/skel.min.js to /usr/share/nginx/html/js-dimension/skel.min.js INFO[0140] Copying file /kaniko/0/src/public/js-dimension/util.js to /usr/share/nginx/html/js-dimension/util.js INFO[0140] Creating directory /usr/share/nginx/html/posts INFO[0140] Creating directory /usr/share/nginx/html/posts/canary INFO[0140] Copying file /kaniko/0/src/public/posts/canary/index.html to /usr/share/nginx/html/posts/canary/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/catalog INFO[0140] Copying file /kaniko/0/src/public/posts/catalog/index.html to /usr/share/nginx/html/posts/catalog/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/chaos INFO[0140] Copying file /kaniko/0/src/public/posts/chaos/index.html to /usr/share/nginx/html/posts/chaos/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-20 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-20/index.html to /usr/share/nginx/html/posts/devops-20/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-21 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-21/index.html to /usr/share/nginx/html/posts/devops-21/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-22 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-22/index.html to /usr/share/nginx/html/posts/devops-22/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-23 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-23/index.html to /usr/share/nginx/html/posts/devops-23/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-24 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-24/index.html to /usr/share/nginx/html/posts/devops-24/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-25 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-25/index.html to /usr/share/nginx/html/posts/devops-25/index.html INFO[0140] Creating directory /usr/share/nginx/html/posts/devops-26 INFO[0140] Copying file /kaniko/0/src/public/posts/devops-26/index.html to /usr/share/nginx/html/posts/devops-26/index.html INFO[0140] Copying file /kaniko/0/src/public/posts/index.html to /usr/share/nginx/html/posts/index.html INFO[0140] Copying file /kaniko/0/src/public/posts/index.xml to /usr/share/nginx/html/posts/index.xml INFO[0140] Creating directory /usr/share/nginx/html/sass INFO[0140] Creating directory /usr/share/nginx/html/sass/base INFO[0140] Copying file /kaniko/0/src/public/sass/base/_page.scss to /usr/share/nginx/html/sass/base/_page.scss INFO[0140] Copying file /kaniko/0/src/public/sass/base/_typography.scss to /usr/share/nginx/html/sass/base/_typography.scss INFO[0140] Creating directory /usr/share/nginx/html/sass/components INFO[0140] Copying file /kaniko/0/src/public/sass/components/_box.scss to /usr/share/nginx/html/sass/components/_box.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_button.scss to /usr/share/nginx/html/sass/components/_button.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_contact-method.scss to /usr/share/nginx/html/sass/components/_contact-method.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_form.scss to /usr/share/nginx/html/sass/components/_form.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_icon.scss to /usr/share/nginx/html/sass/components/_icon.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_image.scss to /usr/share/nginx/html/sass/components/_image.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_list.scss to /usr/share/nginx/html/sass/components/_list.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_section.scss to /usr/share/nginx/html/sass/components/_section.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_spotlights.scss to /usr/share/nginx/html/sass/components/_spotlights.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_table.scss to /usr/share/nginx/html/sass/components/_table.scss INFO[0140] Copying file /kaniko/0/src/public/sass/components/_tiles.scss to /usr/share/nginx/html/sass/components/_tiles.scss INFO[0140] Copying file /kaniko/0/src/public/sass/ie8.scss to /usr/share/nginx/html/sass/ie8.scss INFO[0140] Copying file /kaniko/0/src/public/sass/ie9.scss to /usr/share/nginx/html/sass/ie9.scss INFO[0140] Creating directory /usr/share/nginx/html/sass/layout INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_banner.scss to /usr/share/nginx/html/sass/layout/_banner.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_contact.scss to /usr/share/nginx/html/sass/layout/_contact.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_footer.scss to /usr/share/nginx/html/sass/layout/_footer.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_header.scss to /usr/share/nginx/html/sass/layout/_header.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_main.scss to /usr/share/nginx/html/sass/layout/_main.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_menu.scss to /usr/share/nginx/html/sass/layout/_menu.scss INFO[0140] Copying file /kaniko/0/src/public/sass/layout/_wrapper.scss to /usr/share/nginx/html/sass/layout/_wrapper.scss INFO[0140] Creating directory /usr/share/nginx/html/sass/libs INFO[0140] Copying file /kaniko/0/src/public/sass/libs/_functions.scss to /usr/share/nginx/html/sass/libs/_functions.scss INFO[0140] Copying file /kaniko/0/src/public/sass/libs/_mixins.scss to /usr/share/nginx/html/sass/libs/_mixins.scss INFO[0140] Copying file /kaniko/0/src/public/sass/libs/_skel.scss to /usr/share/nginx/html/sass/libs/_skel.scss INFO[0140] Copying file /kaniko/0/src/public/sass/libs/_vars.scss to /usr/share/nginx/html/sass/libs/_vars.scss INFO[0140] Copying file /kaniko/0/src/public/sass/main.scss to /usr/share/nginx/html/sass/main.scss INFO[0140] Creating directory /usr/share/nginx/html/sass-dimension INFO[0140] Creating directory /usr/share/nginx/html/sass-dimension/base INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/base/_page.scss to /usr/share/nginx/html/sass-dimension/base/_page.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/base/_typography.scss to /usr/share/nginx/html/sass-dimension/base/_typography.scss INFO[0140] Creating directory /usr/share/nginx/html/sass-dimension/components INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_box.scss to /usr/share/nginx/html/sass-dimension/components/_box.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_button.scss to /usr/share/nginx/html/sass-dimension/components/_button.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_form.scss to /usr/share/nginx/html/sass-dimension/components/_form.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_icon.scss to /usr/share/nginx/html/sass-dimension/components/_icon.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_image.scss to /usr/share/nginx/html/sass-dimension/components/_image.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_list.scss to /usr/share/nginx/html/sass-dimension/components/_list.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/components/_table.scss to /usr/share/nginx/html/sass-dimension/components/_table.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/ie9.scss to /usr/share/nginx/html/sass-dimension/ie9.scss INFO[0140] Creating directory /usr/share/nginx/html/sass-dimension/layout INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/layout/_bg.scss to /usr/share/nginx/html/sass-dimension/layout/_bg.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/layout/_footer.scss to /usr/share/nginx/html/sass-dimension/layout/_footer.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/layout/_header.scss to /usr/share/nginx/html/sass-dimension/layout/_header.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/layout/_main.scss to /usr/share/nginx/html/sass-dimension/layout/_main.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/layout/_wrapper.scss to /usr/share/nginx/html/sass-dimension/layout/_wrapper.scss INFO[0140] Creating directory /usr/share/nginx/html/sass-dimension/libs INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/libs/_functions.scss to /usr/share/nginx/html/sass-dimension/libs/_functions.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/libs/_mixins.scss to /usr/share/nginx/html/sass-dimension/libs/_mixins.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/libs/_skel.scss to /usr/share/nginx/html/sass-dimension/libs/_skel.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/libs/_vars.scss to /usr/share/nginx/html/sass-dimension/libs/_vars.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/main.scss to /usr/share/nginx/html/sass-dimension/main.scss INFO[0140] Copying file /kaniko/0/src/public/sass-dimension/noscript.scss to /usr/share/nginx/html/sass-dimension/noscript.scss INFO[0140] Copying file /kaniko/0/src/public/sitemap.xml to /usr/share/nginx/html/sitemap.xml INFO[0140] Creating directory /usr/share/nginx/html/tags INFO[0140] Copying file /kaniko/0/src/public/tags/index.html to /usr/share/nginx/html/tags/index.html INFO[0140] Copying file /kaniko/0/src/public/tags/index.xml to /usr/share/nginx/html/tags/index.xml INFO[0140] Taking snapshot of files... INFO[0141] EXPOSE 80 INFO[0141] cmd: EXPOSE INFO[0141] Adding exposed port: 80/tcp INFO[0141] No files changed in this command, skipping snapshotting. INFO[0141] No files were changed, appending empty layer to config. No layer added to image. error pushing image: failed to push to destination 192.168.10.80:5000/devops-toolkit:1.0.0: Get https://192.168.10.80:5000/v2/: x509: certificate signed by unknown authority [root@minikube1 kaniko-demo]# vim harbor-secret-regcred.sh [root@minikube1 kaniko-demo]# k delete -f kaniko-dir-harbor.yaml pod "kaniko2" deleted [root@minikube1 kaniko-demo]# vim kaniko-dir-harbor.yaml [root@minikube1 kaniko-demo]# k apply -f kaniko-dir-harbor.yaml pod/kaniko2 created [root@minikube1 kaniko-demo]# k logs -f kaniko2 Error from server (BadRequest): container "kaniko" in pod "kaniko2" is waiting to start: ContainerCreating [root@minikube1 kaniko-demo]# k logs -f kaniko2 INFO[0000] Downloading base image klakegg/hugo:0.78.2-alpine 2022/12/01 17:16:33 No matching credentials were found, falling back on anonymous INFO[0004] Extracting layer 0 INFO[0007] Extracting layer 1 INFO[0011] Extracting layer 2 INFO[0013] Taking snapshot of full filesystem... INFO[0019] RUN apk add -U git INFO[0019] cmd: /bin/sh INFO[0019] args: [-c apk add -U git] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/7) Installing ca-certificates (20220614-r0) (2/7) Installing nghttp2-libs (1.41.0-r0) (3/7) Installing libcurl (7.79.1-r1) (4/7) Installing expat (2.2.10-r4) (5/7) Installing pcre2 (10.35-r0) (6/7) Installing git (2.26.3-r1) (7/7) Installing git-bash-completion (2.26.3-r1) Executing busybox-1.31.1-r19.trigger Executing ca-certificates-20220614-r0.trigger OK: 30 MiB in 30 packages INFO[0023] No files were changed, appending empty layer to config. No layer added to image. INFO[0023] COPY . /src INFO[0023] Creating directory /src INFO[0023] Copying file workspace/.dockerignore to /src/.dockerignore INFO[0023] Creating directory /src/.git INFO[0023] Copying file workspace/.git/HEAD to /src/.git/HEAD INFO[0023] Creating directory /src/.git/branches INFO[0023] Copying file workspace/.git/config to /src/.git/config INFO[0023] Copying file workspace/.git/description to /src/.git/description INFO[0023] Creating directory /src/.git/hooks INFO[0023] Copying file workspace/.git/hooks/applypatch-msg.sample to /src/.git/hooks/applypatch-msg.sample INFO[0023] Copying file workspace/.git/hooks/commit-msg.sample to /src/.git/hooks/commit-msg.sample INFO[0023] Copying file workspace/.git/hooks/fsmonitor-watchman.sample to /src/.git/hooks/fsmonitor-watchman.sample INFO[0023] Copying file workspace/.git/hooks/post-update.sample to /src/.git/hooks/post-update.sample INFO[0023] Copying file workspace/.git/hooks/pre-applypatch.sample to /src/.git/hooks/pre-applypatch.sample INFO[0023] Copying file workspace/.git/hooks/pre-commit.sample to /src/.git/hooks/pre-commit.sample INFO[0023] Copying file workspace/.git/hooks/pre-merge-commit.sample to /src/.git/hooks/pre-merge-commit.sample INFO[0023] Copying file workspace/.git/hooks/pre-push.sample to /src/.git/hooks/pre-push.sample INFO[0023] Copying file workspace/.git/hooks/pre-rebase.sample to /src/.git/hooks/pre-rebase.sample INFO[0023] Copying file workspace/.git/hooks/pre-receive.sample to /src/.git/hooks/pre-receive.sample INFO[0023] Copying file workspace/.git/hooks/prepare-commit-msg.sample to /src/.git/hooks/prepare-commit-msg.sample INFO[0023] Copying file workspace/.git/hooks/push-to-checkout.sample to /src/.git/hooks/push-to-checkout.sample INFO[0023] Copying file workspace/.git/hooks/update.sample to /src/.git/hooks/update.sample INFO[0023] Copying file workspace/.git/index to /src/.git/index INFO[0023] Creating directory /src/.git/info INFO[0023] Copying file workspace/.git/info/exclude to /src/.git/info/exclude INFO[0023] Creating directory /src/.git/logs INFO[0023] Copying file workspace/.git/logs/HEAD to /src/.git/logs/HEAD INFO[0023] Creating directory /src/.git/logs/refs INFO[0023] Creating directory /src/.git/logs/refs/heads INFO[0023] Copying file workspace/.git/logs/refs/heads/master to /src/.git/logs/refs/heads/master INFO[0023] Creating directory /src/.git/logs/refs/remotes INFO[0023] Creating directory /src/.git/logs/refs/remotes/origin INFO[0023] Copying file workspace/.git/logs/refs/remotes/origin/HEAD to /src/.git/logs/refs/remotes/origin/HEAD INFO[0023] Creating directory /src/.git/objects INFO[0023] Creating directory /src/.git/objects/info INFO[0023] Creating directory /src/.git/objects/pack INFO[0023] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.idx INFO[0023] Copying file workspace/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack to /src/.git/objects/pack/pack-452859fdd1fb3a79aea7f10a0f5aef2d84f0ec36.pack INFO[0023] Copying file workspace/.git/packed-refs to /src/.git/packed-refs INFO[0023] Creating directory /src/.git/refs INFO[0023] Creating directory /src/.git/refs/heads INFO[0023] Copying file workspace/.git/refs/heads/master to /src/.git/refs/heads/master INFO[0023] Creating directory /src/.git/refs/remotes INFO[0023] Creating directory /src/.git/refs/remotes/origin INFO[0023] Copying file workspace/.git/refs/remotes/origin/HEAD to /src/.git/refs/remotes/origin/HEAD INFO[0023] Creating directory /src/.git/refs/tags INFO[0023] Copying file workspace/.gitignore to /src/.gitignore INFO[0023] Copying file workspace/.gitmodules to /src/.gitmodules INFO[0023] Copying file workspace/.gitpod.Dockerfile to /src/.gitpod.Dockerfile INFO[0023] Copying file workspace/.gitpod.yml to /src/.gitpod.yml INFO[0023] Copying file workspace/.helmignore to /src/.helmignore INFO[0023] Copying file workspace/Dockerfile to /src/Dockerfile INFO[0023] Copying file workspace/Makefile to /src/Makefile INFO[0023] Copying file workspace/README.md to /src/README.md INFO[0023] Creating directory /src/archetypes INFO[0023] Copying file workspace/archetypes/default.md to /src/archetypes/default.md INFO[0023] Copying file workspace/ca-certificates.crt to /src/ca-certificates.crt INFO[0023] Copying file workspace/codefresh-master.yml to /src/codefresh-master.yml INFO[0023] Copying file workspace/config.json to /src/config.json INFO[0023] Copying file workspace/config.toml to /src/config.toml INFO[0023] Creating directory /src/content INFO[0023] Copying file workspace/content/.DS_Store to /src/content/.DS_Store INFO[0023] Creating directory /src/content/img INFO[0023] Copying file workspace/content/img/.DS_Store to /src/content/img/.DS_Store INFO[0023] Copying file workspace/content/img/banner.jpg to /src/content/img/banner.jpg INFO[0023] Copying file workspace/content/img/canary-small.jpg to /src/content/img/canary-small.jpg INFO[0023] Copying file workspace/content/img/canary-smaller.jpg to /src/content/img/canary-smaller.jpg INFO[0023] Copying file workspace/content/img/catalog-small.jpg to /src/content/img/catalog-small.jpg INFO[0023] Copying file workspace/content/img/catalog-smaller.jpg to /src/content/img/catalog-smaller.jpg INFO[0023] Copying file workspace/content/img/chaos-small.jpg to /src/content/img/chaos-small.jpg INFO[0023] Copying file workspace/content/img/chaos-smaller.jpg to /src/content/img/chaos-smaller.jpg INFO[0023] Copying file workspace/content/img/devops20-small.jpg to /src/content/img/devops20-small.jpg INFO[0023] Copying file workspace/content/img/devops20-smaller.jpg to /src/content/img/devops20-smaller.jpg INFO[0023] Copying file workspace/content/img/devops21-small.png to /src/content/img/devops21-small.png INFO[0023] Copying file workspace/content/img/devops21-smaller.png to /src/content/img/devops21-smaller.png INFO[0023] Copying file workspace/content/img/devops22-small.jpg to /src/content/img/devops22-small.jpg INFO[0023] Copying file workspace/content/img/devops22-smaller.jpg to /src/content/img/devops22-smaller.jpg INFO[0023] Copying file workspace/content/img/devops23-small.jpg to /src/content/img/devops23-small.jpg INFO[0023] Copying file workspace/content/img/devops23-smaller.jpg to /src/content/img/devops23-smaller.jpg INFO[0023] Copying file workspace/content/img/devops24-small.jpg to /src/content/img/devops24-small.jpg INFO[0023] Copying file workspace/content/img/devops24-small.png to /src/content/img/devops24-small.png INFO[0023] Copying file workspace/content/img/devops24-smaller.jpg to /src/content/img/devops24-smaller.jpg INFO[0023] Copying file workspace/content/img/devops24-smaller.png to /src/content/img/devops24-smaller.png INFO[0023] Copying file workspace/content/img/devops25-small.jpg to /src/content/img/devops25-small.jpg INFO[0023] Copying file workspace/content/img/devops25-small.png to /src/content/img/devops25-small.png INFO[0023] Copying file workspace/content/img/devops25-smaller.jpg to /src/content/img/devops25-smaller.jpg INFO[0023] Copying file workspace/content/img/devops26-small.jpg to /src/content/img/devops26-small.jpg INFO[0023] Copying file workspace/content/img/devops26-smaller.jpg to /src/content/img/devops26-smaller.jpg INFO[0023] Creating directory /src/content/posts INFO[0023] Copying file workspace/content/posts/canary.md to /src/content/posts/canary.md INFO[0023] Copying file workspace/content/posts/catalog.md to /src/content/posts/catalog.md INFO[0023] Copying file workspace/content/posts/chaos.md to /src/content/posts/chaos.md INFO[0023] Copying file workspace/content/posts/devops-20.md to /src/content/posts/devops-20.md INFO[0023] Copying file workspace/content/posts/devops-21.md to /src/content/posts/devops-21.md INFO[0023] Copying file workspace/content/posts/devops-22.md to /src/content/posts/devops-22.md INFO[0023] Copying file workspace/content/posts/devops-23.md to /src/content/posts/devops-23.md INFO[0023] Copying file workspace/content/posts/devops-24.md to /src/content/posts/devops-24.md INFO[0023] Copying file workspace/content/posts/devops-25.md to /src/content/posts/devops-25.md INFO[0023] Copying file workspace/content/posts/devops-26.md to /src/content/posts/devops-26.md INFO[0023] Copying file workspace/docker-socket.yaml to /src/docker-socket.yaml INFO[0023] Copying file workspace/docker.yaml to /src/docker.yaml INFO[0023] Copying file workspace/harbor-secret-regcred.sh to /src/harbor-secret-regcred.sh INFO[0023] Copying file workspace/kaniko-dir-harbor.yaml to /src/kaniko-dir-harbor.yaml INFO[0023] Copying file workspace/kaniko-dir.yaml to /src/kaniko-dir.yaml INFO[0023] Copying file workspace/kaniko-dir.yaml_bak to /src/kaniko-dir.yaml_bak INFO[0023] Copying file workspace/kaniko-git-harbor.yaml to /src/kaniko-git-harbor.yaml INFO[0023] Copying file workspace/kaniko-git.yaml to /src/kaniko-git.yaml INFO[0023] Creating directory /src/layouts INFO[0023] Creating directory /src/layouts/partials INFO[0023] Copying file workspace/layouts/partials/header.html to /src/layouts/partials/header.html INFO[0023] Creating directory /src/static INFO[0023] Copying file workspace/static/.DS_Store to /src/static/.DS_Store INFO[0023] Creating directory /src/static/css INFO[0023] Copying file workspace/static/css/font-awesome.min.css to /src/static/css/font-awesome.min.css INFO[0023] Copying file workspace/static/css/ie8.css to /src/static/css/ie8.css INFO[0023] Copying file workspace/static/css/ie9.css to /src/static/css/ie9.css INFO[0023] Copying file workspace/static/css/main.css to /src/static/css/main.css INFO[0023] Creating directory /src/static/css-dimension INFO[0023] Copying file workspace/static/css-dimension/bg.jpg to /src/static/css-dimension/bg.jpg INFO[0023] Copying file workspace/static/css-dimension/font-awesome.min.css to /src/static/css-dimension/font-awesome.min.css INFO[0023] Copying file workspace/static/css-dimension/ie9.css to /src/static/css-dimension/ie9.css INFO[0023] Copying file workspace/static/css-dimension/main.css to /src/static/css-dimension/main.css INFO[0023] Copying file workspace/static/css-dimension/noscript.css to /src/static/css-dimension/noscript.css INFO[0023] Copying file workspace/static/css-dimension/overlay.png to /src/static/css-dimension/overlay.png INFO[0023] Copying file workspace/static/css-dimension/project.css to /src/static/css-dimension/project.css INFO[0023] Creating directory /src/static/fonts INFO[0023] Copying file workspace/static/fonts/FontAwesome.otf to /src/static/fonts/FontAwesome.otf INFO[0023] Copying file workspace/static/fonts/fontawesome-webfont.eot to /src/static/fonts/fontawesome-webfont.eot INFO[0023] Copying file workspace/static/fonts/fontawesome-webfont.svg to /src/static/fonts/fontawesome-webfont.svg INFO[0023] Copying file workspace/static/fonts/fontawesome-webfont.ttf to /src/static/fonts/fontawesome-webfont.ttf INFO[0023] Copying file workspace/static/fonts/fontawesome-webfont.woff to /src/static/fonts/fontawesome-webfont.woff INFO[0023] Copying file workspace/static/fonts/fontawesome-webfont.woff2 to /src/static/fonts/fontawesome-webfont.woff2 INFO[0023] Creating directory /src/static/fonts-dimension INFO[0023] Copying file workspace/static/fonts-dimension/FontAwesome.otf to /src/static/fonts-dimension/FontAwesome.otf INFO[0023] Copying file workspace/static/fonts-dimension/fontawesome-webfont.eot to /src/static/fonts-dimension/fontawesome-webfont.eot INFO[0023] Copying file workspace/static/fonts-dimension/fontawesome-webfont.svg to /src/static/fonts-dimension/fontawesome-webfont.svg INFO[0023] Copying file workspace/static/fonts-dimension/fontawesome-webfont.ttf to /src/static/fonts-dimension/fontawesome-webfont.ttf INFO[0023] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff to /src/static/fonts-dimension/fontawesome-webfont.woff INFO[0023] Copying file workspace/static/fonts-dimension/fontawesome-webfont.woff2 to /src/static/fonts-dimension/fontawesome-webfont.woff2 INFO[0023] Creating directory /src/static/images INFO[0023] Copying file workspace/static/images/devops22-small.jpg to /src/static/images/devops22-small.jpg INFO[0023] Copying file workspace/static/images/devops22.jpg to /src/static/images/devops22.jpg INFO[0023] Copying file workspace/static/images/devops23-small.jpg to /src/static/images/devops23-small.jpg INFO[0023] Copying file workspace/static/images/viktor.png to /src/static/images/viktor.png INFO[0023] Creating directory /src/static/js INFO[0023] Creating directory /src/static/js/ie INFO[0023] Copying file workspace/static/js/ie/backgroundsize.min.htc to /src/static/js/ie/backgroundsize.min.htc INFO[0023] Copying file workspace/static/js/ie/html5shiv.js to /src/static/js/ie/html5shiv.js INFO[0023] Copying file workspace/static/js/ie/respond.min.js to /src/static/js/ie/respond.min.js INFO[0023] Copying file workspace/static/js/jquery.min.js to /src/static/js/jquery.min.js INFO[0023] Copying file workspace/static/js/jquery.scrollex.min.js to /src/static/js/jquery.scrollex.min.js INFO[0023] Copying file workspace/static/js/jquery.scrolly.min.js to /src/static/js/jquery.scrolly.min.js INFO[0023] Copying file workspace/static/js/main.js to /src/static/js/main.js INFO[0023] Copying file workspace/static/js/skel.min.js to /src/static/js/skel.min.js INFO[0023] Copying file workspace/static/js/util.js to /src/static/js/util.js INFO[0023] Creating directory /src/static/js-dimension INFO[0023] Copying file workspace/static/js-dimension/jquery.min.js to /src/static/js-dimension/jquery.min.js INFO[0023] Copying file workspace/static/js-dimension/main.js to /src/static/js-dimension/main.js INFO[0023] Copying file workspace/static/js-dimension/skel.min.js to /src/static/js-dimension/skel.min.js INFO[0023] Copying file workspace/static/js-dimension/util.js to /src/static/js-dimension/util.js INFO[0023] Creating directory /src/static/sass INFO[0023] Creating directory /src/static/sass/base INFO[0023] Copying file workspace/static/sass/base/_page.scss to /src/static/sass/base/_page.scss INFO[0023] Copying file workspace/static/sass/base/_typography.scss to /src/static/sass/base/_typography.scss INFO[0023] Creating directory /src/static/sass/components INFO[0023] Copying file workspace/static/sass/components/_box.scss to /src/static/sass/components/_box.scss INFO[0023] Copying file workspace/static/sass/components/_button.scss to /src/static/sass/components/_button.scss INFO[0023] Copying file workspace/static/sass/components/_contact-method.scss to /src/static/sass/components/_contact-method.scss INFO[0023] Copying file workspace/static/sass/components/_form.scss to /src/static/sass/components/_form.scss INFO[0023] Copying file workspace/static/sass/components/_icon.scss to /src/static/sass/components/_icon.scss INFO[0023] Copying file workspace/static/sass/components/_image.scss to /src/static/sass/components/_image.scss INFO[0023] Copying file workspace/static/sass/components/_list.scss to /src/static/sass/components/_list.scss INFO[0023] Copying file workspace/static/sass/components/_section.scss to /src/static/sass/components/_section.scss INFO[0023] Copying file workspace/static/sass/components/_spotlights.scss to /src/static/sass/components/_spotlights.scss INFO[0023] Copying file workspace/static/sass/components/_table.scss to /src/static/sass/components/_table.scss INFO[0023] Copying file workspace/static/sass/components/_tiles.scss to /src/static/sass/components/_tiles.scss INFO[0023] Copying file workspace/static/sass/ie8.scss to /src/static/sass/ie8.scss INFO[0023] Copying file workspace/static/sass/ie9.scss to /src/static/sass/ie9.scss INFO[0023] Creating directory /src/static/sass/layout INFO[0023] Copying file workspace/static/sass/layout/_banner.scss to /src/static/sass/layout/_banner.scss INFO[0023] Copying file workspace/static/sass/layout/_contact.scss to /src/static/sass/layout/_contact.scss INFO[0023] Copying file workspace/static/sass/layout/_footer.scss to /src/static/sass/layout/_footer.scss INFO[0023] Copying file workspace/static/sass/layout/_header.scss to /src/static/sass/layout/_header.scss INFO[0023] Copying file workspace/static/sass/layout/_main.scss to /src/static/sass/layout/_main.scss INFO[0023] Copying file workspace/static/sass/layout/_menu.scss to /src/static/sass/layout/_menu.scss INFO[0023] Copying file workspace/static/sass/layout/_wrapper.scss to /src/static/sass/layout/_wrapper.scss INFO[0023] Creating directory /src/static/sass/libs INFO[0023] Copying file workspace/static/sass/libs/_functions.scss to /src/static/sass/libs/_functions.scss INFO[0023] Copying file workspace/static/sass/libs/_mixins.scss to /src/static/sass/libs/_mixins.scss INFO[0023] Copying file workspace/static/sass/libs/_skel.scss to /src/static/sass/libs/_skel.scss INFO[0023] Copying file workspace/static/sass/libs/_vars.scss to /src/static/sass/libs/_vars.scss INFO[0023] Copying file workspace/static/sass/main.scss to /src/static/sass/main.scss INFO[0023] Creating directory /src/static/sass-dimension INFO[0023] Creating directory /src/static/sass-dimension/base INFO[0023] Copying file workspace/static/sass-dimension/base/_page.scss to /src/static/sass-dimension/base/_page.scss INFO[0023] Copying file workspace/static/sass-dimension/base/_typography.scss to /src/static/sass-dimension/base/_typography.scss INFO[0023] Creating directory /src/static/sass-dimension/components INFO[0023] Copying file workspace/static/sass-dimension/components/_box.scss to /src/static/sass-dimension/components/_box.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_button.scss to /src/static/sass-dimension/components/_button.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_form.scss to /src/static/sass-dimension/components/_form.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_icon.scss to /src/static/sass-dimension/components/_icon.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_image.scss to /src/static/sass-dimension/components/_image.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_list.scss to /src/static/sass-dimension/components/_list.scss INFO[0023] Copying file workspace/static/sass-dimension/components/_table.scss to /src/static/sass-dimension/components/_table.scss INFO[0023] Copying file workspace/static/sass-dimension/ie9.scss to /src/static/sass-dimension/ie9.scss INFO[0023] Creating directory /src/static/sass-dimension/layout INFO[0023] Copying file workspace/static/sass-dimension/layout/_bg.scss to /src/static/sass-dimension/layout/_bg.scss INFO[0023] Copying file workspace/static/sass-dimension/layout/_footer.scss to /src/static/sass-dimension/layout/_footer.scss INFO[0023] Copying file workspace/static/sass-dimension/layout/_header.scss to /src/static/sass-dimension/layout/_header.scss INFO[0023] Copying file workspace/static/sass-dimension/layout/_main.scss to /src/static/sass-dimension/layout/_main.scss INFO[0023] Copying file workspace/static/sass-dimension/layout/_wrapper.scss to /src/static/sass-dimension/layout/_wrapper.scss INFO[0023] Creating directory /src/static/sass-dimension/libs INFO[0023] Copying file workspace/static/sass-dimension/libs/_functions.scss to /src/static/sass-dimension/libs/_functions.scss INFO[0023] Copying file workspace/static/sass-dimension/libs/_mixins.scss to /src/static/sass-dimension/libs/_mixins.scss INFO[0023] Copying file workspace/static/sass-dimension/libs/_skel.scss to /src/static/sass-dimension/libs/_skel.scss INFO[0023] Copying file workspace/static/sass-dimension/libs/_vars.scss to /src/static/sass-dimension/libs/_vars.scss INFO[0023] Copying file workspace/static/sass-dimension/main.scss to /src/static/sass-dimension/main.scss INFO[0023] Copying file workspace/static/sass-dimension/noscript.scss to /src/static/sass-dimension/noscript.scss INFO[0023] Creating directory /src/themes INFO[0023] Copying file workspace/themes/.DS_Store to /src/themes/.DS_Store INFO[0023] Creating directory /src/themes/forty INFO[0023] No files were changed, appending empty layer to config. No layer added to image. INFO[0023] RUN make init INFO[0023] cmd: /bin/sh INFO[0023] args: [-c make init] git submodule init Submodule 'themes/forty' (https://github.com/MarcusVirg/forty) registered for path 'themes/forty' git submodule update Cloning into '/src/themes/forty'... fatal: unable to access 'https://github.com/MarcusVirg/forty/': HTTP/2 stream 1 was not closed cleanly before end of the underlying stream fatal: clone of 'https://github.com/MarcusVirg/forty' into submodule path '/src/themes/forty' failed Failed to clone 'themes/forty'. Retry scheduled Cloning into '/src/themes/forty'... Submodule path 'themes/forty': checked out 'dccea57bd2ed194942080d650671b47b6df4183c' Submodule path 'themes/forty': checked out 'dccea57bd2ed194942080d650671b47b6df4183c' cp content/img/banner.jpg themes/forty/static/img/. INFO[0215] No files were changed, appending empty layer to config. No layer added to image. INFO[0215] RUN make build INFO[0215] cmd: /bin/sh INFO[0215] args: [-c make build] hugo Start building sites … | EN -------------------+----- Pages | 19 Paginator pages | 0 Non-page files | 24 Static files | 97 Processed images | 0 Aliases | 0 Sitemaps | 1 Cleaned | 0 Total in 211 ms INFO[0215] Taking snapshot of full filesystem... INFO[0217] Adding whiteout for /etc/ssl/certs/8867006a.0 INFO[0217] Adding whiteout for /etc/ssl/certs/6410666e.0 INFO[0217] Adding whiteout for /etc/ssl/certs/080911ac.0 INFO[0217] Adding whiteout for /etc/ssl/certs/e2799e36.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-OISTE_WISeKey_Global_Root_GA_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/2e5ac55d.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Global_Chambersign_Root_-_2008.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G3.pem INFO[0217] Adding whiteout for /etc/ssl/certs/c01cdfa2.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Taiwan_GRCA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/1636090b.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA_2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/9c2e7d30.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/b1b8a7f3.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-LuxTrust_Global_Root_2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Cybertrust_Global_Root.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Trustis_FPS_Root_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Verisign_Class_3_Public_Primary_Certification_Authority_-_G3.pem INFO[0217] Adding whiteout for /etc/ssl/certs/c089bbbd.0 INFO[0217] Adding whiteout for /etc/ssl/certs/b204d74a.0 INFO[0217] Adding whiteout for /etc/ssl/certs/128805a3.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Universal_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GlobalSign_Root_CA_-_R2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority_-_G2.pem INFO[0217] Adding whiteout for /etc/ssl/certs/5a4d6896.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Primary_Certification_Authority.pem INFO[0217] Adding whiteout for /etc/ssl/certs/0c4c9b6c.0 INFO[0217] Adding whiteout for /etc/ssl/certs/def36a68.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Chambers_of_Commerce_Root_-_2008.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Sonera_Class_2_Root_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/76cb8f92.0 INFO[0217] Adding whiteout for /etc/ssl/certs/480720ec.0 INFO[0217] Adding whiteout for /etc/ssl/certs/2e4eed3c.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-GeoTrust_Global_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/4a6481c9.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ad088e1d.0 INFO[0217] Adding whiteout for /etc/ssl/certs/116bf586.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-thawte_Primary_Root_CA_-_G3.pem INFO[0217] Adding whiteout for /etc/ssl/certs/c47d9980.0 INFO[0217] Adding whiteout for /etc/ssl/certs/5c44d531.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-QuoVadis_Root_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G5.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-EE_Certification_Centre_Root_CA.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ba89ed3b.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Hellenic_Academic_and_Research_Institutions_RootCA_2011.pem INFO[0217] Adding whiteout for /etc/ssl/certs/7d0b38bd.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Universal_Root_Certification_Authority.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-Staat_der_Nederlanden_Root_CA_-_G3.pem INFO[0217] Adding whiteout for /etc/ssl/certs/2c543cd1.0 INFO[0217] Adding whiteout for /etc/ssl/certs/d853d49e.0 INFO[0217] Adding whiteout for /etc/ssl/certs/c0ff1f52.0 INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-DST_Root_CA_X3.pem INFO[0217] Adding whiteout for /etc/ssl/certs/ca-cert-VeriSign_Class_3_Public_Primary_Certification_Authority_-_G4.pem INFO[0227] Storing source image from stage 0 at path /kaniko/stages/0 INFO[0239] trying to extract to /kaniko/0 INFO[0239] Extracting layer 0 INFO[0242] Extracting layer 1 INFO[0245] Extracting layer 2 INFO[0247] Extracting layer 3 INFO[0248] Deleting filesystem... INFO[0250] Downloading base image nginx:1.19.4-alpine 2022/12/01 17:20:44 No matching credentials were found, falling back on anonymous INFO[0253] Extracting layer 0 INFO[0255] Extracting layer 1 INFO[0258] Extracting layer 2 INFO[0258] Extracting layer 3 INFO[0259] Extracting layer 4 INFO[0259] Taking snapshot of full filesystem... INFO[0271] RUN mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html INFO[0271] cmd: /bin/sh INFO[0271] args: [-c mv /usr/share/nginx/html/index.html /usr/share/nginx/html/old-index.html] INFO[0271] Taking snapshot of full filesystem... INFO[0273] Adding whiteout for /usr/share/nginx/html/index.html INFO[0274] COPY --from=build /src/public /usr/share/nginx/html INFO[0274] Creating directory /usr/share/nginx/html INFO[0274] Copying file /kaniko/0/src/public/.DS_Store to /usr/share/nginx/html/.DS_Store INFO[0274] Copying file /kaniko/0/src/public/404.html to /usr/share/nginx/html/404.html INFO[0274] Creating directory /usr/share/nginx/html/categories INFO[0274] Copying file /kaniko/0/src/public/categories/index.html to /usr/share/nginx/html/categories/index.html INFO[0274] Copying file /kaniko/0/src/public/categories/index.xml to /usr/share/nginx/html/categories/index.xml INFO[0274] Creating directory /usr/share/nginx/html/css INFO[0274] Copying file /kaniko/0/src/public/css/font-awesome.min.css to /usr/share/nginx/html/css/font-awesome.min.css INFO[0274] Copying file /kaniko/0/src/public/css/ie8.css to /usr/share/nginx/html/css/ie8.css INFO[0274] Copying file /kaniko/0/src/public/css/ie9.css to /usr/share/nginx/html/css/ie9.css INFO[0274] Copying file /kaniko/0/src/public/css/main.css to /usr/share/nginx/html/css/main.css INFO[0274] Creating directory /usr/share/nginx/html/css-dimension INFO[0274] Copying file /kaniko/0/src/public/css-dimension/bg.jpg to /usr/share/nginx/html/css-dimension/bg.jpg INFO[0274] Copying file /kaniko/0/src/public/css-dimension/font-awesome.min.css to /usr/share/nginx/html/css-dimension/font-awesome.min.css INFO[0274] Copying file /kaniko/0/src/public/css-dimension/ie9.css to /usr/share/nginx/html/css-dimension/ie9.css INFO[0274] Copying file /kaniko/0/src/public/css-dimension/main.css to /usr/share/nginx/html/css-dimension/main.css INFO[0274] Copying file /kaniko/0/src/public/css-dimension/noscript.css to /usr/share/nginx/html/css-dimension/noscript.css INFO[0274] Copying file /kaniko/0/src/public/css-dimension/overlay.png to /usr/share/nginx/html/css-dimension/overlay.png INFO[0274] Copying file /kaniko/0/src/public/css-dimension/project.css to /usr/share/nginx/html/css-dimension/project.css INFO[0274] Copying file /kaniko/0/src/public/elements.html to /usr/share/nginx/html/elements.html INFO[0274] Creating directory /usr/share/nginx/html/fonts INFO[0274] Copying file /kaniko/0/src/public/fonts/FontAwesome.otf to /usr/share/nginx/html/fonts/FontAwesome.otf INFO[0274] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.eot to /usr/share/nginx/html/fonts/fontawesome-webfont.eot INFO[0274] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.svg to /usr/share/nginx/html/fonts/fontawesome-webfont.svg INFO[0274] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts/fontawesome-webfont.ttf INFO[0274] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff to /usr/share/nginx/html/fonts/fontawesome-webfont.woff INFO[0274] Copying file /kaniko/0/src/public/fonts/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts/fontawesome-webfont.woff2 INFO[0274] Creating directory /usr/share/nginx/html/fonts-dimension INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/FontAwesome.otf to /usr/share/nginx/html/fonts-dimension/FontAwesome.otf INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.eot to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.eot INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.svg to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.svg INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.ttf to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.ttf INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff INFO[0274] Copying file /kaniko/0/src/public/fonts-dimension/fontawesome-webfont.woff2 to /usr/share/nginx/html/fonts-dimension/fontawesome-webfont.woff2 INFO[0274] Creating directory /usr/share/nginx/html/images INFO[0274] Copying file /kaniko/0/src/public/images/devops22-small.jpg to /usr/share/nginx/html/images/devops22-small.jpg INFO[0274] Copying file /kaniko/0/src/public/images/devops22.jpg to /usr/share/nginx/html/images/devops22.jpg INFO[0274] Copying file /kaniko/0/src/public/images/devops23-small.jpg to /usr/share/nginx/html/images/devops23-small.jpg INFO[0274] Copying file /kaniko/0/src/public/images/viktor.png to /usr/share/nginx/html/images/viktor.png INFO[0274] Creating directory /usr/share/nginx/html/img INFO[0274] Copying file /kaniko/0/src/public/img/banner.jpg to /usr/share/nginx/html/img/banner.jpg INFO[0274] Copying file /kaniko/0/src/public/img/canary-small.jpg to /usr/share/nginx/html/img/canary-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/canary-smaller.jpg to /usr/share/nginx/html/img/canary-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/catalog-small.jpg to /usr/share/nginx/html/img/catalog-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/catalog-smaller.jpg to /usr/share/nginx/html/img/catalog-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/chaos-small.jpg to /usr/share/nginx/html/img/chaos-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/chaos-smaller.jpg to /usr/share/nginx/html/img/chaos-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops20-small.jpg to /usr/share/nginx/html/img/devops20-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops20-smaller.jpg to /usr/share/nginx/html/img/devops20-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops21-small.png to /usr/share/nginx/html/img/devops21-small.png INFO[0274] Copying file /kaniko/0/src/public/img/devops21-smaller.png to /usr/share/nginx/html/img/devops21-smaller.png INFO[0274] Copying file /kaniko/0/src/public/img/devops22-small.jpg to /usr/share/nginx/html/img/devops22-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops22-smaller.jpg to /usr/share/nginx/html/img/devops22-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops23-small.jpg to /usr/share/nginx/html/img/devops23-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops23-smaller.jpg to /usr/share/nginx/html/img/devops23-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops24-small.jpg to /usr/share/nginx/html/img/devops24-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops24-small.png to /usr/share/nginx/html/img/devops24-small.png INFO[0274] Copying file /kaniko/0/src/public/img/devops24-smaller.jpg to /usr/share/nginx/html/img/devops24-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops24-smaller.png to /usr/share/nginx/html/img/devops24-smaller.png INFO[0274] Copying file /kaniko/0/src/public/img/devops25-small.jpg to /usr/share/nginx/html/img/devops25-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops25-small.png to /usr/share/nginx/html/img/devops25-small.png INFO[0274] Copying file /kaniko/0/src/public/img/devops25-smaller.jpg to /usr/share/nginx/html/img/devops25-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops26-small.jpg to /usr/share/nginx/html/img/devops26-small.jpg INFO[0274] Copying file /kaniko/0/src/public/img/devops26-smaller.jpg to /usr/share/nginx/html/img/devops26-smaller.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic01.jpg to /usr/share/nginx/html/img/pic01.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic02.jpg to /usr/share/nginx/html/img/pic02.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic03.jpg to /usr/share/nginx/html/img/pic03.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic04.jpg to /usr/share/nginx/html/img/pic04.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic05.jpg to /usr/share/nginx/html/img/pic05.jpg INFO[0274] Copying file /kaniko/0/src/public/img/pic06.jpg to /usr/share/nginx/html/img/pic06.jpg INFO[0274] Copying file /kaniko/0/src/public/index.html to /usr/share/nginx/html/index.html INFO[0274] Copying file /kaniko/0/src/public/index.xml to /usr/share/nginx/html/index.xml INFO[0274] Creating directory /usr/share/nginx/html/js INFO[0274] Creating directory /usr/share/nginx/html/js/ie INFO[0274] Copying file /kaniko/0/src/public/js/ie/backgroundsize.min.htc to /usr/share/nginx/html/js/ie/backgroundsize.min.htc INFO[0274] Copying file /kaniko/0/src/public/js/ie/html5shiv.js to /usr/share/nginx/html/js/ie/html5shiv.js INFO[0274] Copying file /kaniko/0/src/public/js/ie/respond.min.js to /usr/share/nginx/html/js/ie/respond.min.js INFO[0274] Copying file /kaniko/0/src/public/js/jquery.min.js to /usr/share/nginx/html/js/jquery.min.js INFO[0274] Copying file /kaniko/0/src/public/js/jquery.scrollex.min.js to /usr/share/nginx/html/js/jquery.scrollex.min.js INFO[0274] Copying file /kaniko/0/src/public/js/jquery.scrolly.min.js to /usr/share/nginx/html/js/jquery.scrolly.min.js INFO[0274] Copying file /kaniko/0/src/public/js/main.js to /usr/share/nginx/html/js/main.js INFO[0274] Copying file /kaniko/0/src/public/js/skel.min.js to /usr/share/nginx/html/js/skel.min.js INFO[0274] Copying file /kaniko/0/src/public/js/util.js to /usr/share/nginx/html/js/util.js INFO[0274] Creating directory /usr/share/nginx/html/js-dimension INFO[0274] Copying file /kaniko/0/src/public/js-dimension/jquery.min.js to /usr/share/nginx/html/js-dimension/jquery.min.js INFO[0274] Copying file /kaniko/0/src/public/js-dimension/main.js to /usr/share/nginx/html/js-dimension/main.js INFO[0274] Copying file /kaniko/0/src/public/js-dimension/skel.min.js to /usr/share/nginx/html/js-dimension/skel.min.js INFO[0274] Copying file /kaniko/0/src/public/js-dimension/util.js to /usr/share/nginx/html/js-dimension/util.js INFO[0274] Creating directory /usr/share/nginx/html/posts INFO[0274] Creating directory /usr/share/nginx/html/posts/canary INFO[0274] Copying file /kaniko/0/src/public/posts/canary/index.html to /usr/share/nginx/html/posts/canary/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/catalog INFO[0274] Copying file /kaniko/0/src/public/posts/catalog/index.html to /usr/share/nginx/html/posts/catalog/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/chaos INFO[0274] Copying file /kaniko/0/src/public/posts/chaos/index.html to /usr/share/nginx/html/posts/chaos/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-20 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-20/index.html to /usr/share/nginx/html/posts/devops-20/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-21 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-21/index.html to /usr/share/nginx/html/posts/devops-21/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-22 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-22/index.html to /usr/share/nginx/html/posts/devops-22/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-23 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-23/index.html to /usr/share/nginx/html/posts/devops-23/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-24 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-24/index.html to /usr/share/nginx/html/posts/devops-24/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-25 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-25/index.html to /usr/share/nginx/html/posts/devops-25/index.html INFO[0274] Creating directory /usr/share/nginx/html/posts/devops-26 INFO[0274] Copying file /kaniko/0/src/public/posts/devops-26/index.html to /usr/share/nginx/html/posts/devops-26/index.html INFO[0274] Copying file /kaniko/0/src/public/posts/index.html to /usr/share/nginx/html/posts/index.html INFO[0274] Copying file /kaniko/0/src/public/posts/index.xml to /usr/share/nginx/html/posts/index.xml INFO[0274] Creating directory /usr/share/nginx/html/sass INFO[0274] Creating directory /usr/share/nginx/html/sass/base INFO[0274] Copying file /kaniko/0/src/public/sass/base/_page.scss to /usr/share/nginx/html/sass/base/_page.scss INFO[0274] Copying file /kaniko/0/src/public/sass/base/_typography.scss to /usr/share/nginx/html/sass/base/_typography.scss INFO[0274] Creating directory /usr/share/nginx/html/sass/components INFO[0274] Copying file /kaniko/0/src/public/sass/components/_box.scss to /usr/share/nginx/html/sass/components/_box.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_button.scss to /usr/share/nginx/html/sass/components/_button.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_contact-method.scss to /usr/share/nginx/html/sass/components/_contact-method.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_form.scss to /usr/share/nginx/html/sass/components/_form.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_icon.scss to /usr/share/nginx/html/sass/components/_icon.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_image.scss to /usr/share/nginx/html/sass/components/_image.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_list.scss to /usr/share/nginx/html/sass/components/_list.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_section.scss to /usr/share/nginx/html/sass/components/_section.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_spotlights.scss to /usr/share/nginx/html/sass/components/_spotlights.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_table.scss to /usr/share/nginx/html/sass/components/_table.scss INFO[0274] Copying file /kaniko/0/src/public/sass/components/_tiles.scss to /usr/share/nginx/html/sass/components/_tiles.scss INFO[0274] Copying file /kaniko/0/src/public/sass/ie8.scss to /usr/share/nginx/html/sass/ie8.scss INFO[0274] Copying file /kaniko/0/src/public/sass/ie9.scss to /usr/share/nginx/html/sass/ie9.scss INFO[0274] Creating directory /usr/share/nginx/html/sass/layout INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_banner.scss to /usr/share/nginx/html/sass/layout/_banner.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_contact.scss to /usr/share/nginx/html/sass/layout/_contact.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_footer.scss to /usr/share/nginx/html/sass/layout/_footer.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_header.scss to /usr/share/nginx/html/sass/layout/_header.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_main.scss to /usr/share/nginx/html/sass/layout/_main.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_menu.scss to /usr/share/nginx/html/sass/layout/_menu.scss INFO[0274] Copying file /kaniko/0/src/public/sass/layout/_wrapper.scss to /usr/share/nginx/html/sass/layout/_wrapper.scss INFO[0274] Creating directory /usr/share/nginx/html/sass/libs INFO[0274] Copying file /kaniko/0/src/public/sass/libs/_functions.scss to /usr/share/nginx/html/sass/libs/_functions.scss INFO[0274] Copying file /kaniko/0/src/public/sass/libs/_mixins.scss to /usr/share/nginx/html/sass/libs/_mixins.scss INFO[0274] Copying file /kaniko/0/src/public/sass/libs/_skel.scss to /usr/share/nginx/html/sass/libs/_skel.scss INFO[0274] Copying file /kaniko/0/src/public/sass/libs/_vars.scss to /usr/share/nginx/html/sass/libs/_vars.scss INFO[0274] Copying file /kaniko/0/src/public/sass/main.scss to /usr/share/nginx/html/sass/main.scss INFO[0274] Creating directory /usr/share/nginx/html/sass-dimension INFO[0274] Creating directory /usr/share/nginx/html/sass-dimension/base INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/base/_page.scss to /usr/share/nginx/html/sass-dimension/base/_page.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/base/_typography.scss to /usr/share/nginx/html/sass-dimension/base/_typography.scss INFO[0274] Creating directory /usr/share/nginx/html/sass-dimension/components INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_box.scss to /usr/share/nginx/html/sass-dimension/components/_box.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_button.scss to /usr/share/nginx/html/sass-dimension/components/_button.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_form.scss to /usr/share/nginx/html/sass-dimension/components/_form.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_icon.scss to /usr/share/nginx/html/sass-dimension/components/_icon.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_image.scss to /usr/share/nginx/html/sass-dimension/components/_image.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_list.scss to /usr/share/nginx/html/sass-dimension/components/_list.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/components/_table.scss to /usr/share/nginx/html/sass-dimension/components/_table.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/ie9.scss to /usr/share/nginx/html/sass-dimension/ie9.scss INFO[0274] Creating directory /usr/share/nginx/html/sass-dimension/layout INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/layout/_bg.scss to /usr/share/nginx/html/sass-dimension/layout/_bg.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/layout/_footer.scss to /usr/share/nginx/html/sass-dimension/layout/_footer.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/layout/_header.scss to /usr/share/nginx/html/sass-dimension/layout/_header.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/layout/_main.scss to /usr/share/nginx/html/sass-dimension/layout/_main.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/layout/_wrapper.scss to /usr/share/nginx/html/sass-dimension/layout/_wrapper.scss INFO[0274] Creating directory /usr/share/nginx/html/sass-dimension/libs INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/libs/_functions.scss to /usr/share/nginx/html/sass-dimension/libs/_functions.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/libs/_mixins.scss to /usr/share/nginx/html/sass-dimension/libs/_mixins.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/libs/_skel.scss to /usr/share/nginx/html/sass-dimension/libs/_skel.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/libs/_vars.scss to /usr/share/nginx/html/sass-dimension/libs/_vars.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/main.scss to /usr/share/nginx/html/sass-dimension/main.scss INFO[0274] Copying file /kaniko/0/src/public/sass-dimension/noscript.scss to /usr/share/nginx/html/sass-dimension/noscript.scss INFO[0274] Copying file /kaniko/0/src/public/sitemap.xml to /usr/share/nginx/html/sitemap.xml INFO[0274] Creating directory /usr/share/nginx/html/tags INFO[0274] Copying file /kaniko/0/src/public/tags/index.html to /usr/share/nginx/html/tags/index.html INFO[0274] Copying file /kaniko/0/src/public/tags/index.xml to /usr/share/nginx/html/tags/index.xml INFO[0274] Taking snapshot of files... INFO[0275] EXPOSE 80 INFO[0275] cmd: EXPOSE INFO[0275] Adding exposed port: 80/tcp INFO[0275] No files changed in this command, skipping snapshotting. INFO[0275] No files were changed, appending empty layer to config. No layer added to image. 2022/12/01 17:21:09 pushed blob sha256:fc8330beeb9ffb5c51a92d48766c252658bbf88461597a63ba97c46faaa78d9b 2022/12/01 17:21:09 pushed blob sha256:ad4f04e8f8bd4ced092141d586ebad5ae549dc84967efc92317377fdf1e7a46a 2022/12/01 17:21:10 pushed blob sha256:85defa007a8b33f817a5113210cca4aca6681b721d4b44dc94928c265959d7d5 2022/12/01 17:21:11 pushed blob sha256:9dd8e8e549988a3e2c521f27f805b7a03d909d185bb01cdb4a4029e5a6702919 2022/12/01 17:21:11 pushed blob sha256:f2dc206a393cd74df3fea6d4c1d3cefe209979e8dbcceb4893ec9eadcc10bc14 2022/12/01 17:21:11 pushed blob sha256:cdf31037b0faf780c5a5d7f385d64fb6144b0518733a033d181b964b372fe391 2022/12/01 17:21:11 pushed blob sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964 2022/12/01 17:21:13 pushed blob sha256:0ca72de6f95718a4bd36e45f03fffa98e53819be7e75cb8cd1bcb0705b845939 2022/12/01 17:21:13 192.168.10.80:5000/devops-toolkit:1.0.0: digest: sha256:7b2d0899f9b374eb69f92ec8ce578496509d75a804ea39694d55046aa10a9e15 size: 1397
验证是否构建入库
$ curl -k -u "registryuser:registryuserpassword" https://192.168.10.80:5000/v2/_catalog {"repositories":["alpine","busybox","devops-toolkit","redis","testuser/fedora-myhttpd"]} curl -k -u "registryuser:registryuserpassword" https://192.168.10.80:5000/v2/devops-toolkit/tags/list {"name":"devops-toolkit","tags":["1.0.0"]}
推送成功。
10.4 Local Directory 推送私有 harbor
考虑到 CI/CD
的业务特性,这里选用机器人用户,创建推送机器人。
测试登陆
docker login -u 'robot$kaniko-user' -p YxJ3Bje3dKWoHy9EWfQ1PApzijCfvG5m https://harbor.fum ai.com
创建 secret
,名为harbor-regcred
,脚本harbor-secret-rgcred.sh
#!/bin/bash REGISTRY_SERVER=https:harbor.fumai.com/v2/ REGISTRY_USER='robot$kaniko-user' REGISTRY_PASS=zRPfq79SYQeJtzYDo1radbZYDAqfPa4L REGISTRY_EMAIL=1zoxun1@gmail.com kubectl --namespace=default create secret docker-registry harbor-regcred --docker-server=$REGISTRY_SERVER --docker-username=$REGISTRY_USER --docker-password=$REGISTRY_PASS --docker-email=$REGISTRY_EMAIL
创建 secret
$ sh harbor-secret-regcred.sh $ k get secret harbor-regcred NAME TYPE DATA AGE harbor-regcred kubernetes.io/dockerconfigjson 1 3m30s $ kubectl get secret harbor-regcred --output="jsonpath={.data.\.dockerconfigjson}" | base64 -d {"auths":{"https:harbor.fumai.com/v2/":{"username":"admin","password":"Harbor12345","email":"1zoxun1@gmail.com","auth":"YWRtaW46SGFyYm9yMTIzNDU="}}}
这里还需要给 通过CoreDNS 给 harbor.fumai.com
做一个域名解析。
$ k edit cm -n kube-system coredns .... hosts { 127.0.0.1 host.minikube.internal 192.168.10.81 harbor.fumai.com # 添加 fallthrough } .....
创建 kaniko-dir-harbor.yaml
--- apiVersion: v1 kind: Pod metadata: name: kaniko spec: hostAliases: - ip: "192.168.10.81" hostnames: - "harbor.fumai.com" containers: - name: kaniko # image: gcr.io/kaniko-project/executor:debug image: ghostwritten/kaniko-project-executor:debug args: ["--dockerfile=/workspace/Dockerfile", "--context=dir://workspace", "--skip-tls-verify", "--destination=harbor.fumai.com/library/devops-toolkit:1.0.0"] volumeMounts: - name: kaniko-secret mountPath: /kaniko/.docker - name: workspace mountPath: /workspace - name: hosts mountPath: /etc/hosts subPath: hosts restartPolicy: Never volumes: - name: kaniko-secret secret: secretName: harbor-regcred items: - key: .dockerconfigjson path: config.json - name: workspace hostPath: path: /root/kaniko/kaniko-demo - name: hosts hostPath: path: /etc/hosts
执行:
$ k apply -f kaniko-dir-harbor.yaml #查看日志 $ k logs -f kaniko ...... INFO[0269] Taking snapshot of files... INFO[0270] EXPOSE 80 INFO[0270] cmd: EXPOSE INFO[0270] Adding exposed port: 80/tcp INFO[0270] No files changed in this command, skipping snapshotting. INFO[0270] No files were changed, appending empty layer to config. No layer added to image. 2022/12/08 00:46:50 existing blob: sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964 2022/12/08 00:46:50 existing blob: sha256:0ca72de6f95718a4bd36e45f03fffa98e53819be7e75cb8cd1bcb0705b845939 2022/12/08 00:46:50 existing blob: sha256:9dd8e8e549988a3e2c521f27f805b7a03d909d185bb01cdb4a4029e5a6702919 2022/12/08 00:46:50 existing blob: sha256:f2dc206a393cd74df3fea6d4c1d3cefe209979e8dbcceb4893ec9eadcc10bc14 2022/12/08 00:46:50 existing blob: sha256:85defa007a8b33f817a5113210cca4aca6681b721d4b44dc94928c265959d7d5 2022/12/08 00:46:50 pushed blob sha256:f9bec74bf820b9f4a41c7213263ffb780de1b95008bc112b0b091e84266cccad 2022/12/08 00:46:50 pushed blob sha256:efc9fe50e3a3bba7be0bfdc2afe5c7425eaf5a272e3ba61e957295c714e6b927 2022/12/08 00:46:52 pushed blob sha256:179b791301cd6ca8083e5adcb346d8daa2a0a6ac21fb357b128757602ee1db26 2022/12/08 00:46:52 harbor.fumai.com/library/devops-toolkit:1.0.0: digest: sha256:3a77e618caf751879fce641f96988f9605b377e8421fe5b13aa0e0d694766152 size: 1397
推送镜像入库成功。🥰
10.5 Jenkins Pipeline & kaniko 构建镜像入库
podTemplate(name: 'kaniko-python-docker', namespace: 'default', yaml: ''' kind: Pod spec: containers: - name: kaniko # image: gcr.io/kaniko-project/executor:v1.6.0-debug image: ghostwritten/kaniko-project-executor:v1.6.0-debug imagePullPolicy: Always command: - sleep args: - 99d volumeMounts: - name: jenkins-docker-cfg mountPath: /kaniko/.docker volumes: - name: jenkins-docker-cfg secret: secretName: regcred items: - key: .dockerconfigjson path: config.json ''' ) { node(POD_LABEL) { stage('Build with Kaniko') { git 'https://github.com/Ghostwritten/kaniko-python-docker.git' container('kaniko') { sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=ghostwritten/kaniko-python-docker:v1.0.1' } } } }
console output
:
Started by user Jenkins Admin [Pipeline] Start of Pipeline [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: minikube2 default/kaniko-python-docker-frnd7-1wnb4 Still waiting to schedule task ‘kaniko-python-docker-frnd7-1wnb4’ is offline Agent kaniko-python-docker-frnd7-1wnb4 is provisioned from template kaniko-python-docker-frnd7 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://192.168.10.26:32000/job/docker/21/" runUrl: "job/docker/21/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "117969f201f5b8afcc688a11799a14d3558b71c0" jenkins/label: "docker_21-mlxg4" name: "kaniko-python-docker-frnd7-1wnb4" namespace: "default" spec: containers: - args: - "99d" command: - "sleep" image: "ghostwritten/kaniko-project-executor:v1.6.0-debug" imagePullPolicy: "Always" name: "kaniko" volumeMounts: - mountPath: "/kaniko/.docker" name: "jenkins-docker-cfg" - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false - env: - name: "JENKINS_SECRET" value: "********" - name: "JENKINS_TUNNEL" value: "jenkins-agent.jenkins.svc.cluster.local:50000" - name: "JENKINS_AGENT_NAME" value: "kaniko-python-docker-frnd7-1wnb4" - name: "JENKINS_NAME" value: "kaniko-python-docker-frnd7-1wnb4" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://192.168.10.26:32000/" image: "jenkins/inbound-agent:4.11-1-jdk11" name: "jnlp" resources: limits: {} requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false nodeSelector: kubernetes.io/os: "linux" restartPolicy: "Never" volumes: - name: "jenkins-docker-cfg" secret: items: - key: ".dockerconfigjson" path: "config.json" secretName: "regcred" - emptyDir: medium: "" name: "workspace-volume" Running on kaniko-python-docker-frnd7-1wnb4 in /home/jenkins/agent/workspace/docker [Pipeline] { [Pipeline] stage [Pipeline] { (Build with Kaniko) [Pipeline] git The recommended git tool is: NONE No credentials specified Cloning the remote Git repository Cloning repository https://github.com/Ghostwritten/kaniko-python-docker.git > git init /home/jenkins/agent/workspace/docker # timeout=10 Fetching upstream changes from https://github.com/Ghostwritten/kaniko-python-docker.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- https://github.com/Ghostwritten/kaniko-python-docker.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/Ghostwritten/kaniko-python-docker.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 925d4779eb7b4d41840d9daabb5ef5518d65ed1c (refs/remotes/origin/master) > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 925d4779eb7b4d41840d9daabb5ef5518d65ed1c # timeout=10 > git branch -a -v --no-abbrev # timeout=10 > git checkout -b master 925d4779eb7b4d41840d9daabb5ef5518d65ed1c # timeout=10 Commit message: "add kaniko python docker" First time build. Skipping changelog. [Pipeline] container [Pipeline] { [Pipeline] sh + pwd + pwd + /kaniko/executor -f /home/jenkins/agent/workspace/docker/Dockerfile -c /home/jenkins/agent/workspace/docker '--cache=true' '--destination=ghostwritten/kaniko-python-docker:v1.0.1' [36mINFO[0m[0002] Retrieving image manifest python:3.8-slim-buster [36mINFO[0m[0002] Retrieving image python:3.8-slim-buster from registry index.docker.io [36mINFO[0m[0004] Retrieving image manifest python:3.8-slim-buster [36mINFO[0m[0004] Returning cached image manifest [36mINFO[0m[0006] Built cross stage deps: map[] [36mINFO[0m[0006] Retrieving image manifest python:3.8-slim-buster [36mINFO[0m[0006] Returning cached image manifest [36mINFO[0m[0006] Retrieving image manifest python:3.8-slim-buster [36mINFO[0m[0006] Returning cached image manifest [36mINFO[0m[0006] Executing 0 build triggers [36mINFO[0m[0006] Checking for cached layer index.docker.io/ghostwritten/kaniko-python-docker/cache:1c98e3b76b7eea791ef15553919754ea5ea0384db24733375b20585b5abf5c59... [36mINFO[0m[0008] No cached layer found for cmd RUN pip3 install -r requirements.txt [36mINFO[0m[0008] Unpacking rootfs as cmd COPY requirements.txt requirements.txt requires it. [36mINFO[0m[0025] WORKDIR /app [36mINFO[0m[0025] cmd: workdir [36mINFO[0m[0025] Changed working directory to /app [36mINFO[0m[0025] Creating directory /app [36mINFO[0m[0025] Taking snapshot of files... [36mINFO[0m[0025] COPY requirements.txt requirements.txt [36mINFO[0m[0025] Taking snapshot of files... [36mINFO[0m[0025] RUN pip3 install -r requirements.txt [36mINFO[0m[0025] Taking snapshot of full filesystem... [36mINFO[0m[0027] cmd: /bin/sh [36mINFO[0m[0027] args: [-c pip3 install -r requirements.txt] [36mINFO[0m[0027] Running: [/bin/sh -c pip3 install -r requirements.txt] Collecting Flask==2.0.2 Downloading Flask-2.0.2-py3-none-any.whl (95 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 95.2/95.2 KB 291.8 kB/s eta 0:00:00 Collecting itsdangerous>=2.0 Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting Jinja2>=3.0 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 119.1 kB/s eta 0:00:00 Collecting Werkzeug>=2.0 Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.7/232.7 KB 54.5 kB/s eta 0:00:00 Collecting click>=7.1.2 Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 30.9 kB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Installing collected packages: MarkupSafe, itsdangerous, click, Werkzeug, Jinja2, Flask Successfully installed Flask-2.0.2 Jinja2-3.1.2 MarkupSafe-2.1.1 Werkzeug-2.2.2 click-8.1.3 itsdangerous-2.1.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv WARNING: You are using pip version 22.0.4; however, version 22.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. [36mINFO[0m[0053] Taking snapshot of full filesystem... [36mINFO[0m[0056] COPY . . [36mINFO[0m[0056] Taking snapshot of files... [36mINFO[0m[0056] Pushing layer index.docker.io/ghostwritten/kaniko-python-docker/cache:1c98e3b76b7eea791ef15553919754ea5ea0384db24733375b20585b5abf5c59 to cache now [36mINFO[0m[0056] Pushing image to index.docker.io/ghostwritten/kaniko-python-docker/cache:1c98e3b76b7eea791ef15553919754ea5ea0384db24733375b20585b5abf5c59 [36mINFO[0m[0056] CMD [ "python3", "app.py"] [36mINFO[0m[0056] No files changed in this command, skipping snapshotting. [33mWARN[0m[0058] error uploading layer to cache: failed to push to destination index.docker.io/ghostwritten/kaniko-python-docker/cache:1c98e3b76b7eea791ef15553919754ea5ea0384db24733375b20585b5abf5c59: HEAD https://index.docker.io/v2/ghostwritten/kaniko-python-docker/cache/blobs/sha256:c3aa9870d3065edb2286cac744c95fb0d2f1c98b2d8a231257314eda7d3598b0: unexpected status code 401 Unauthorized (HEAD responses have no body, use GET for details) [36mINFO[0m[0058] Pushing image to ghostwritten/kaniko-python-docker:v1.0.1 [36mINFO[0m[0066] Pushed image to 1 destinations [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS
登陆 dockerhub 查看新构建的镜像。
关于 kaniko 工具使用方法到此结束,谢谢。
问题
1. failed to push to destination
.... error pushing image: failed to push to destination index.docker.io/zongxun/devops-toolkit:1.0.0: unsupported status code 401; body:
export REGISTRY_SERVER=https://index.docker.io/v1/ 而不是 docker.io
--destination=ghostwritten/devops-toolkit:1.0.0而不是--destination=docker.io/ghostwritten/devops-toolkit:1.0.0
2. connection reset by peer
代理问题,可能需要关闭vpn等。
$ k logs -f kaniko error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "harbor.fumai.com/library/devops-toolkit:1.0.0": creating push check transport for harbor.fumai.com failed: Get "https://harbor.fumai.com/v2/": read tcp 172.17.0.9:56448->103.216.219.70:443: read: connection reset by peer
3. 400 Bad Request
error pushing image: failed to push to destination 192.168.10.80:5000/devops-toolkit:1.0.0: unrecognized
参考:
https://github.com/GoogleContainerTools/kaniko/issues/245
https://github.com/GoogleContainerTools/kaniko
https://github.com/GoogleContainerTools/kaniko/issues/1209
https://www.youtube.com/watch?v=EgwVQN6GNJg&t=1227s
kubernetes【工具】kaniko【2】-demo
云原生圣经