Browse Source

Remove docker cache

hotfix/wow
anthony 5 years ago
parent
commit
0aa2a07519
  1. 25
      .circleci/config.yml

25
.circleci/config.yml

@ -112,27 +112,12 @@ jobs:
steps: steps:
- checkout - checkout
- *install-cache - *install-cache
- setup_remote_docker:
docker_layer_caching: true
- setup_remote_docker # Can not cache docker in images in free tier
- run: - run:
name: Build and Push docker image name: Build and Push docker image
command: docker build -t . command: docker build -t .
pushdockerhub:
docker:
- *docker-config
environment:
DOCKERHUB_LOGIN: *dockerhub_username
DOCKERHUB_REPOSITORY: my-awesome-ci-expr
steps:
- checkout
- *install-cache
- setup_remote_docker:
docker_layer_caching: true
- run: echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_LOGIN --password-stdin
- run: echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_LOGIN --password-stdin
- when: - when:
condition: condition:
@ -175,9 +160,6 @@ jobs:
name: Build and Push docker image name: Build and Push docker image
command: docker build -t . command: docker build -t .
workflows: workflows:
build-workflow: build-workflow:
jobs: jobs:
@ -210,8 +192,5 @@ workflows:
- test-ci - test-ci
- test-e2e - test-e2e
- pushdockerhub:
requires:
- builddocker
Loading…
Cancel
Save