kind: pipeline type: docker name: hastebin-latest-custom steps: - name: publish image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password dockerfile: latest/Dockerfile context: latest/ build-args: - HASTEBIN_VERSION=master purge: true repo: arminfriedl/hastebin tags: latest trigger: event: - custom --- kind: pipeline type: docker name: hastebin-latest steps: - name: publish image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password dockerfile: latest/Dockerfile context: latest/ build-args: - HASTEBIN_VERSION=master purge: true repo: arminfriedl/hastebin tags: latest trigger: event: - cron cron: - hastebin_latest --- kind: pipeline type: docker name: hastebin-stable steps: - name: publish image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password dockerfile: stable/Dockerfile context: stable/ build-args: - HASTEBIN_VERSION=master purge: true repo: arminfriedl/hastebin tags: stable trigger: event: - cron cron: - hastebin_stable