Split out the jobs to attempt to get things to run correctly again.

This commit is contained in:
James Tombleson 2023-07-10 17:58:32 -07:00
parent c25cafb0a7
commit 6af7fb75be

View File

@ -1,10 +1,10 @@
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: build name: buildMasterImage
steps: steps:
- name: build image - name: buildMasterImage
image: plugins/docker image: plugins/docker
settings: settings:
repo: jtom38/newsbot-collector repo: jtom38/newsbot-collector
@ -23,10 +23,36 @@ trigger:
exclude: exclude:
- pull_request - pull_request
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: compile name: buildReleaseImage
steps:
- name: buildReleaseImage
image: plugins/docker
settings:
repo: jtom38/newsbot-collector
username: jtom38
password:
from_secret: DockerPushPat
trigger:
branch:
include:
- releases/*
ref:
include:
- refs/tags/**
event:
exclude:
- pull_request
---
kind: pipeline
type: docker
name: PullRequestCompileTest
steps: steps:
- name: Compile project - name: Compile project
image: mcr.microsoft.com/dotnet/sdk:7.0.103 image: mcr.microsoft.com/dotnet/sdk:7.0.103