123456789101112131415161718192021222324252627282930 |
- ---
- platform: linux
- image_resource:
- type: registry-image
- source:
- username: ((docker-hub-username))
- password: ((docker-hub-password))
- repository: concourse/oci-build-task
- tag: '0.11.0'
- inputs:
- - name: ci-images-git-repo
- outputs:
- - name: image
- caches:
- - path: ci-image-cache
- params:
- DEBUG: true
- CONTEXT: ci-images-git-repo/ci/images
- DOCKERFILE: ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
- DOCKER_HUB_AUTH: ((docker-hub-auth))
- run:
- path: /bin/sh
- args:
- - "-c"
- - |
- mkdir -p /root/.docker
- cat > /root/.docker/config.json <<EOF
- { "auths": { "https://index.docker.io/v1/": { "auth": "$DOCKER_HUB_AUTH" }}}
- EOF
- build
|