Added agola CI
agola/docker-dind-buildx/Build image The run failed Details

This commit is contained in:
Pavel Dmitriev 2022-05-02 16:50:43 +03:00
parent baa27b7cba
commit bbb9a07ec6
1 changed files with 43 additions and 0 deletions

43
.agola/config.yml Normal file
View File

@ -0,0 +1,43 @@
version: v0
runs:
- name: Build image
docker_registries_auth:
'mxfox.ru':
username:
from_variable: mxfoxDockerLogin
password:
from_variable: mxfoxDockerSecret
tasks:
# kaniko image doesn't have the git command installed
- name: checkout code
runtime:
containers:
- image: alpine/git
steps:
- clone:
- save_to_workspace:
contents:
- source_dir: .
dest_dir: .
paths:
- '**'
- name: build docker image
runtime:
containers:
- image: gcr.io/kaniko-project/executor:debug
shell: /busybox/sh
environment:
DOCKERLOGIN:
from_variable: mxfoxDockerLogin
DOCKERPASS:
from_variable: mxfoxDockerSecret
steps:
- restore_workspace:
dest_dir: .
#- run: /kaniko/executor --no-push
- run: /kaniko/executor --destination mxfox.ru/mxfox/docker-dind.buildx:latest
depends:
- checkout code