---
kind: pipeline
type: docker

platform:
  os: linux
  arch: amd64

steps:
  - name: image
    image: plugins/docker
    settings:
      registry: git.itzana.me
      repo: git.itzana.me/strafesnet/asset-tool
      tags:
        - latest
      username:
        from_secret: GIT_USER
      password:
        from_secret: GIT_PASS
      dockerfile: Containerfile
    when:
      branch:
        - master