---
kind: pipeline
name: gce
steps:
- name: dryrun
pull: always
image: plugins/docker:linux-amd64
settings:
dry_run: true
password:
from_secret: docker_password
repo: xoxys/molecule
dockerfile: docker/Dockerfile.gce
tags: gce
username:
from_secret: docker_username
when:
event:
- push
- tag
- name: publish
auto_tag: true
auto_tag_suffix: gce
# ---
# kind: pipeline
# name: notifications
# steps:
# - name: notify
# image: plugins/matrix
# settings:
# homeserver: https://matrix.rknet.org
# roomid: MtidqQXWWAtQcByBhH:rknet.org
# template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
# username:
# from_secret: matrix_username
# password:
# from_secret: matrix_password
# when:
# status:
# - success
# - failure
# ...