Adding docker config

This commit is contained in:
Alberto C. Ríos
2024-07-01 11:46:44 +02:00
parent 749fc7642b
commit 654b887d55
3 changed files with 6 additions and 8 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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))