Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ executors:
gradle_docker:
docker:
- image: cimg/openjdk:11.0
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_PASSWORD

commands:
gradle:
Expand Down Expand Up @@ -33,6 +36,9 @@ commands:
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- setup_remote_docker
- run:
name: Dockerhub login
command: echo $DOCKERHUB_PASSWORD | docker login --username $DOCKERHUB_USERNAME --password-stdin
save_populated_cache:
description: "Save the gradle binary to the cache so it doesn't have to redownload"
steps:
Expand Down Expand Up @@ -60,9 +66,13 @@ workflows:
version: 2
build-and-publish:
jobs:
- build
- build:
context:
- dockerhub-read
- publish:
context: hypertrace-publishing
context:
- hypertrace-publishing
- dockerhub-read
requires:
- build
filters:
Expand Down