feat: pull image in a separate step
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
643926ab5e
commit
694f580997
14
.drone.yml
14
.drone.yml
@ -4,9 +4,21 @@ type: docker
|
|||||||
name: 'build and deploy'
|
name: 'build and deploy'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: hugo-extended
|
- name: pull
|
||||||
pull: always
|
pull: always
|
||||||
image: immawanderer/fedora-hugo:latest
|
image: immawanderer/fedora-hugo:latest
|
||||||
|
commands:
|
||||||
|
- uname -r
|
||||||
|
- cat /etc/fedora-release
|
||||||
|
|
||||||
|
- name: hugo-extended
|
||||||
|
pull: if-not-exists
|
||||||
|
image: immawanderer/fedora-hugo:latest
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
depends_on:
|
||||||
|
- pull
|
||||||
commands:
|
commands:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
|
Loading…
Reference in New Issue
Block a user