Only pull pipeline images if they don't exist [CI SKIP]

This commit is contained in:
Magnus Walbeck 2021-04-10 15:20:17 +02:00
parent 72abc25aee
commit 3de8f1e4dd
Signed by: mwalbeck
GPG key ID: CCB78CFF3F950769

View file

@ -6,6 +6,7 @@ name: lint
steps:
- name: Lint Dockerfile
image: hadolint/hadolint:latest-debian
pull: if-not-exists
commands:
- hadolint --version
- hadolint Dockerfile
@ -26,6 +27,7 @@ name: test
steps:
- name: build test
image: plugins/docker
pull: if-not-exists
settings:
dockerfile: Dockerfile
repo: mwalbeck/nextcloud-notify-push
@ -46,6 +48,7 @@ name: release
steps:
- name: determine tags
image: mwalbeck/determine-docker-tags
pull: if-not-exists
environment:
VERSION_TYPE: "docker_env"
APP_NAME: "NOTIFY_PUSH"
@ -54,6 +57,7 @@ steps:
- name: build and publish
image: plugins/docker
pull: if-not-exists
settings:
dockerfile: Dockerfile
username:
@ -64,6 +68,7 @@ steps:
- name: notify
image: plugins/matrix
pull: if-not-exists
settings:
homeserver: https://matrix.mwalbeck.org
roomid: