Added agola CI
agola/docker-dind-buildx/Build image The run failed
Details
agola/docker-dind-buildx/Build image The run failed
Details
This commit is contained in:
parent
baa27b7cba
commit
bbb9a07ec6
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue