Skip to content

Commit

Permalink
Change publish jobs to attach to the correct workspace
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Mar 28, 2020
1 parent 59b598f commit 0d42d92
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ jobs:
docker:
- image: cimg/go:1.14
steps:
- attach_workspace:
at: .
- attach_to_workspace
- setup_remote_docker
- run:
name: Build image
Expand All @@ -183,21 +182,11 @@ jobs:
docker:
- image: circleci/golang:1.14
steps:
- attach_workspace:
at: .
- attach_to_workspace
- setup_remote_docker
- run:
name: Build image
command: |
make docker-otelcol
docker tag otelcol:latest otel/opentelemetry-collector-dev:${CIRCLE_SHA1:1}
docker tag otelcol:latest otel/opentelemetry-collector-dev:latest
- run:
name: Login to Docker Hub
command: docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
- run:
name: Push image
command: |
docker push otel/opentelemetry-collector-dev:${CIRCLE_SHA1:1}
docker push otel/opentelemetry-collector-dev:latest

0 comments on commit 0d42d92

Please sign in to comment.