You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
723 B

kind: pipeline
type: docker
name: AOC2021
steps:
- name: init
image: busybox
commands:
- echo 'Starting build pipeline for AOC2021'
- name: test
image: mcr.microsoft.com/dotnet/sdk:5.0
commands:
- ls
- dotnet test AOC2021.Test
- cd AOC2021
- ls
3 years ago
- rm -r bin
- rm -r obj
- ls
- name: build-aoc-2021
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: 97waterpolo/aoc-2021
dockerfile: AOC2021/Dockerfile
3 years ago
commands:
3 years ago
- cd AOC2021
3 years ago
- ls
depends_on:
- test
- name: finish
image: busybox
commands:
- echo 'Finished deployment for Aincrad'
depends_on:
- build-aoc-2021