Изменил(а) на 'README.md'
This commit is contained in:
parent
692cc6c6f8
commit
baa27b7cba
24
README.md
24
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue