Skip to content

Commit

Permalink
Merge pull request #719 from roflcoopter/feature/azure-free-space
Browse files Browse the repository at this point in the history
temporarily disable image pull
  • Loading branch information
roflcoopter authored Mar 28, 2024
2 parents aaf487b + c4c9619 commit 4cbf99f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions azure-pipelines/templates/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,18 @@ jobs:
displayName: Register QEMU for cross-builds
condition: and(succeeded(), eq('${{ parameters.crossBuild }}', true))

- script: |
cd $(Agent.BuildDirectory)/s/docker
docker-compose --file ../azure-pipelines/docker-compose-build.yaml --env-file ../azure-pipelines/.env pull $(arch)-${{ parameters.image }}
displayName: Pull image for Docker layer caching
continueOnError: true
condition: and(succeeded(), eq('${{ parameters.imageNameOnly }}', false))
- script: |
cd $(Agent.BuildDirectory)/s/docker
docker-compose --file ../azure-pipelines/docker-compose-build.yaml --env-file ../azure-pipelines/.env pull ${{ parameters.image }}
displayName: Pull image for Docker layer caching
continueOnError: true
condition: and(succeeded(), eq('${{ parameters.imageNameOnly }}', true))
# - script: |
# cd $(Agent.BuildDirectory)/s/docker
# docker-compose --file ../azure-pipelines/docker-compose-build.yaml --env-file ../azure-pipelines/.env pull $(arch)-${{ parameters.image }}
# displayName: Pull image for Docker layer caching
# continueOnError: true
# condition: and(succeeded(), eq('${{ parameters.imageNameOnly }}', false))
# - script: |
# cd $(Agent.BuildDirectory)/s/docker
# docker-compose --file ../azure-pipelines/docker-compose-build.yaml --env-file ../azure-pipelines/.env pull ${{ parameters.image }}
# displayName: Pull image for Docker layer caching
# continueOnError: true
# condition: and(succeeded(), eq('${{ parameters.imageNameOnly }}', true))

- script: |
cd $(Agent.BuildDirectory)/s/docker
Expand Down

0 comments on commit 4cbf99f

Please sign in to comment.