Skip to content

Commit

Permalink
reorder build steps so the cache is owned by the right user
Browse files Browse the repository at this point in the history
  • Loading branch information
fifteenhex committed Jun 16, 2020
1 parent a2c8153 commit ab23945
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ concurrency:

steps:

- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./dl

- name: createimage
image: docker:latest
volumes:
Expand All @@ -19,16 +29,6 @@ steps:
- docker build -t m5_buildroot .
- chmod -R o+rw ./

- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
- ./dl

- name: bootstrap
image: m5_buildroot
pull: if-not-exists
Expand Down

0 comments on commit ab23945

Please sign in to comment.