diff --git a/sample/templates/buildpack.yaml b/sample/templates/buildpack.yaml index b6a62f66af0d..67f431e6d1c3 100644 --- a/sample/templates/buildpack.yaml +++ b/sample/templates/buildpack.yaml @@ -20,7 +20,6 @@ spec: - name: build image: packs/cf:build workingdir: "${DIRECTORY}" - env: volumeMounts: - name: droplet mountPath: /out @@ -30,24 +29,18 @@ spec: # In: a CF app droplet in /in # Out: an image published as $IMAGE - name: export - image: packs/cf:export-gcr + image: packs/cf:export workingdir: /in args: ["${IMAGE}"] env: - - name: DOCKER_CONFIG - value: /root/.docker + - name: PACK_REGISTRY_GCR + value: "true" volumeMounts: - name: droplet mountPath: /in - - name: docker-socket - mountPath: /var/run/docker.sock volumes: - name: droplet emptyDir: {} - name: app-cache emptyDir: {} - - name: docker-socket - hostPath: - path: /var/run/docker.sock - type: Socket