mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-11 14:36:25 +00:00
test(ci): add slim docker build to azure (#4350)
This commit is contained in:
parent
5d56ab0fca
commit
747dcc404e
1 changed files with 18 additions and 0 deletions
|
@ -55,3 +55,21 @@ jobs:
|
|||
|
||||
steps:
|
||||
- template: .azure/steps.yml
|
||||
|
||||
- job: 'DockerSlim'
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
docker pull renovate/renovate:slim
|
||||
displayName: Pull old slim renovate image as cache
|
||||
|
||||
- script: |
|
||||
export DOCKER_BUILDKIT=1
|
||||
docker build --cache-from renovate/renovate:slim -t renovate-test -f Dockerfile.slim .
|
||||
displayName: Build slim renovate image
|
||||
|
||||
- script: |
|
||||
docker run --rm -t renovate-test --version
|
||||
displayName: Test slim renovate image
|
||||
|
|
Loading…
Reference in a new issue