kind: pipeline
type: docker

platform:
  os: linux

steps:
  - name: submodules
    image: alpine/git
    commands:
    - git submodule update --init --recursive
  - name: build image
    image: plugins/docker
    settings:
      username:
        from_secret: DOCKER_USERNAME
      password:
        from_secret: DOCKER_PASSWORD
      repo: simon987/recipes.simon987.net
      context: ./
      dockerfile: ./Dockerfile
      tags: latest
