chore: remove old Agola config
This commit is contained in:
parent
1cabbca86a
commit
ab18ed6c46
1 changed files with 0 additions and 48 deletions
|
@ -1,48 +0,0 @@
|
|||
version: v0
|
||||
runs:
|
||||
- name: Build
|
||||
tasks:
|
||||
- name: Checkout code
|
||||
runtime:
|
||||
type: pod
|
||||
containers:
|
||||
- image: docker.io/alpine/git
|
||||
steps:
|
||||
- clone:
|
||||
recurse_submodules: true
|
||||
- save_to_workspace:
|
||||
contents:
|
||||
- source_dir: .
|
||||
dest_dir: .
|
||||
paths:
|
||||
- '**'
|
||||
- name: Build Docker-in-Docker image
|
||||
runtime:
|
||||
containers:
|
||||
- image: gcr.io/kaniko-project/executor:debug
|
||||
environment:
|
||||
DOCKERAUTH:
|
||||
from_variable: dockerauth
|
||||
shell: /busybox/sh
|
||||
steps:
|
||||
- restore_workspace:
|
||||
dest_dir: .
|
||||
- run:
|
||||
name: generate docker config
|
||||
command: |
|
||||
cat << EOF > /kaniko/.docker/config.json
|
||||
{
|
||||
"auths": {
|
||||
"https://code.icb4dc0.de": { "auth" : "$DOCKERAUTH" }
|
||||
}
|
||||
}
|
||||
EOF
|
||||
- run:
|
||||
name: Build and push image
|
||||
command: |
|
||||
/kaniko/executor \
|
||||
--destination code.icb4dc0.de/prskr/ci-images/dind:latest \
|
||||
--context dir:///root/project/ \
|
||||
--dockerfile /root/project/dind/Dockerfile
|
||||
depends:
|
||||
- Checkout code
|
Loading…
Reference in a new issue