Browse Source

Fix permissions on volume

master
Logan Koester 3 years ago
parent
commit
43da58fdf2
No known key found for this signature in database GPG Key ID: EBA7BD5CB8B7CB94
  1. 3
      .drone.yml

3
.drone.yml

@ -24,6 +24,9 @@ steps:
commands:
- sleep 5 # give docker enough time to start
- docker login -u $REGISTRY_TOKEN -p $REGISTRY_TOKEN $REGISTRY_URL
- addgroup --gid 1000 user
- adduser -D -g '' -G user -u 1000 user
- chown -R user:user /drone/src
- docker run -v /drone/src/:/app/src/ --rm $REGISTRY_URL/smaug/smaug:latest build
- name: waypoint_deploy

Loading…
Cancel
Save