image: quay.io/buildah/stable:latest

default:
  before_script:
    - buildah login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}

build:
  script:
    - buildah bud -t teckids.org:latest
  interruptible: true
  retry: 1

deploy:
  script:
    - buildah push

