--- kind: pipeline type: docker name: frontend steps: - name: build image: tmaier/docker-compose volumes: - name: dockersock path: /var/run/docker.sock commands: - docker-compose build frontend - name: publish image: plugins/docker settings: username: from_secret: docker_username password: from_secret: docker_password repo: grimmigerfuchs/schwarzesbrett tags: latest context: ./docker/schwarzesbrett volumes: - name: dockersock path: /var/run/docker.sock when: branch: - main volumes: - name: dockersock host: path: /var/run/docker.sock