Изменил(а) на 'README.md'

This commit is contained in:
Pavel Dmitriev 2022-03-23 23:02:59 +03:00
parent 692cc6c6f8
commit baa27b7cba
1 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,25 @@
# docker-dind.buildx-git # docker-dind.buildx-git
DIND Docker image template with git for build-x pipelines. DIND Docker image template with git for build-x pipelines.
pipeline sample for agola
version: v0
runs:
- name: Build image
tasks:
- name: build docker image
runtime:
containers:
- image: docker-buildx:dind-git
privileged: true
working_dir: /workspace
steps:
- run:
name: buildX prepare
command: buildx-bgstart.sh
- run:
name: buildX build
command: |
docker login ${DOCKERLOGIN} -p ${DOCKERPASS}
docker buildx build --platform linux/amd64,linux/arm64 . -t ${DOCKERIMAGE} --push