---
platform: linux
image_resource:
  type: registry-image
  source:
    repository: vito/oci-build-task
    registry_mirror:
      host: ((registry-mirror-host))
      username: ((registry-mirror-username))
      password: ((registry-mirror-password))
inputs:
- name: ci-images-git-repo
outputs:
- name: image
caches:
- path: ci-image-cache
params:
  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

---
platform: linux
image_resource:
  type: registry-image
  source:
    repository: concourse/oci-build-task
    tag: 0.9.0
    registry_mirror:
      host: ((registry-mirror-host))
      username: ((registry-mirror-username))
      password: ((registry-mirror-password))
inputs:
- name: ci-images-git-repo
outputs:
- name: image
caches:
- path: ci-image-cache
params:
  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

Switch from vito/oci-build-task to concourse/oci-build-task
Switch from vito/oci-build-task to concourse/oci-build-task

Closes gh-27421
