Skip to content

Commit

Permalink
Adding docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
Albertoimpl committed Jul 1, 2024
1 parent 749fc76 commit 654b887
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions ci/images/app-broker-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions ci/tasks/generate-docker-credentials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 654b887

Please sign in to comment.