Skip to content

Instantly share code, notes, and snippets.

@cwoolum
Created October 11, 2019 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cwoolum/f22955cb6c2f6db7dc5a1336c3853fca to your computer and use it in GitHub Desktop.
Save cwoolum/f22955cb6c2f6db7dc5a1336c3853fca to your computer and use it in GitHub Desktop.
Build with service containers
resources:
containers:
- container: nuget
image: cwoolum/thin-nuget-proxy
ports:
- 8080:80
env:
MIRROR__ACCESSTOKEN: $(System.AccessToken)
MIRROR__PACKAGESOURCE: "https://pkgs.dev.azure.com/mypackages/_packaging/mypackages/nuget/v3/index.json"
trigger:
branches:
include:
- master
- release/*
stages:
- stage: Build
displayName: Build stage
jobs:
# Do some build stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment