---
kind: pipeline
type: docker
name: deploy

steps:
  - name: docker-arm
    image: plugins/docker
    settings:
      target: arm
      username:
        from_secret: gitea_packpub_username
      password:
        from_secret: gitea_packpub_password
      registry: git.simponic.xyz
      repo: git.simponic.xyz/simponic/uptime
      tags:
        - arm
  - name: docker-amd64
    image: plugins/docker
    settings:
      target: eightysix
      username:
        from_secret: gitea_packpub_username
      password:
        from_secret: gitea_packpub_password
      registry: git.simponic.xyz
      repo: git.simponic.xyz/simponic/uptime
      tags:
        - eightysix

trigger:
  branch:
    - main
  event:
    - push