when: - event: push branch: test steps: - name: build image: docker:latest commands: - docker build -t test . - name: deploy image: docker:latest commands: - sh run.sh