mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-02 20:23:50 +00:00
Split 'pull' option docs from 'image' docs (#5161)
This commit is contained in:
parent
fa3525c5f8
commit
aac914cfae
2 changed files with 14 additions and 6 deletions
|
@ -122,7 +122,13 @@ image: index.docker.io/library/golang
|
|||
image: index.docker.io/library/golang:1.7
|
||||
```
|
||||
|
||||
Woodpecker does not automatically upgrade container images. Example configuration to always pull the latest image when updates are available:
|
||||
Learn more how you can use images from [different registries](./41-registries.md).
|
||||
|
||||
### `pull`
|
||||
|
||||
By default, Woodpecker does not automatically upgrade container images and only pulls them when they are not already present.
|
||||
|
||||
To always pull the latest image when updates are available, use the `pull` option:
|
||||
|
||||
```diff
|
||||
steps:
|
||||
|
@ -131,8 +137,6 @@ Woodpecker does not automatically upgrade container images. Example configuratio
|
|||
+ pull: true
|
||||
```
|
||||
|
||||
Learn more how you can use images from [different registries](./41-registries.md).
|
||||
|
||||
### `commands`
|
||||
|
||||
Commands of every step are executed serially as if you would enter them into your local shell.
|
||||
|
|
|
@ -122,7 +122,13 @@ image: index.docker.io/library/golang
|
|||
image: index.docker.io/library/golang:1.7
|
||||
```
|
||||
|
||||
Woodpecker does not automatically upgrade container images. Example configuration to always pull the latest image when updates are available:
|
||||
Learn more how you can use images from [different registries](./41-registries.md).
|
||||
|
||||
### `pull`
|
||||
|
||||
By default, Woodpecker does not automatically upgrade container images and only pulls them when they are not already present.
|
||||
|
||||
To always pull the latest image when updates are available, use the `pull` option:
|
||||
|
||||
```diff
|
||||
steps:
|
||||
|
@ -131,8 +137,6 @@ Woodpecker does not automatically upgrade container images. Example configuratio
|
|||
+ pull: true
|
||||
```
|
||||
|
||||
Learn more how you can use images from [different registries](./41-registries.md).
|
||||
|
||||
### `commands`
|
||||
|
||||
Commands of every step are executed serially as if you would enter them into your local shell.
|
||||
|
|
Loading…
Reference in a new issue