Adding docker config
This commit is contained in:
@@ -40,7 +40,5 @@ RUN curl -L "https://github.com/cloudfoundry/bosh-bootloader/releases/download/v
|
||||
RUN curl -L "https://github.com/cloudfoundry/bosh-cli/releases/download/v$BOSH_CLI_VERSION/bosh-cli-$BOSH_CLI_VERSION-linux-amd64" --output /usr/local/bin/bosh && \
|
||||
chmod +x /usr/local/bin/bosh
|
||||
|
||||
RUN mkdir cf-cli && \
|
||||
wget -q -O - 'https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github' \
|
||||
| tar -zx --no-same-owner -C 'cf-cli' && \
|
||||
mv cf-cli/cf* /usr/local/bin/
|
||||
RUN cd /usr/local/bin && curl -L 'https://packages.cloudfoundry.org/stable?release=linux64-binary&version=v7&source=github' | tar xz && \
|
||||
chmod +x /usr/local/bin/cf
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
input_mapping:
|
||||
git-repo: ci-images-git-repo
|
||||
vars:
|
||||
registry: ((app-broker-dev-docker-registry))
|
||||
registry: ((app-broker-virtual-docker-registry))
|
||||
registry-username: ((broadcom-jfrog-artifactory-robot-account.username))
|
||||
registry-password: ((broadcom-jfrog-artifactory-robot-account.password))
|
||||
- task: build-image
|
||||
|
||||
@@ -20,6 +20,6 @@ run:
|
||||
|
||||
params:
|
||||
DOCKER_CONFIG_OUTPUT: ../docker-config
|
||||
REGISTRY: ((registry))
|
||||
REGISTRY_USERNAME: ((registry-username))
|
||||
REGISTRY_PASSWORD: ((registry-password))
|
||||
REGISTRY: ((app-broker-virtual-docker-registry))
|
||||
REGISTRY_USERNAME: ((broadcom-jfrog-artifactory-robot-account.username))
|
||||
REGISTRY_PASSWORD: ((broadcom-jfrog-artifactory-robot-account.password))
|
||||
|
||||
Reference in New Issue
Block a user