pipeline: build: image: docker commands: - docker build -t libreschool-automation/rpm-sign:latest . volumes: - /var/run/docker.sock:/var/run/docker.sock when: event: tag # build_and_publish: # no publish at this time # image: plugins/docker # pull: true # secrets: [ docker_username, docker_password ] # repo: libreschool-automation/rpm-sign # auto_tag: true # auto_tag_suffix: linux-amd64 # dockerfile: Dockerfile # when: # event: [ push, tag ]