Added remote global build tag/cache for multi-arch builds

This commit is contained in:
Luke J Powlett
2020-10-15 09:30:11 +01:00
committed by GitHub Enterprise
parent 3d6199e0d8
commit 55c094a58a
10 changed files with 320 additions and 40 deletions

View File

@@ -39,6 +39,11 @@ jobs:
env:
- MQ_ARCHIVE_REPOSITORY_DEV=$MQ_920_ARCHIVE_REPOSITORY_DEV_AMD64
script: bash -e travis-build-scripts/run.sh
- stage: global-tag
if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate*
name: "Generate Global Tag"
os: linux
script: bash -e travis-build-scripts/global-tag.sh
- stage: build
if: branch = private-master OR tag =~ ^release-candidate*
name: "Multi-Arch AMD64 build"
@@ -72,7 +77,9 @@ jobs:
- stage: push-manifest
if: branch = private-master AND type != pull_request OR tag =~ ^release-candidate*
name: "Push Manifest-list to registry"
script: make push-manifest
env:
- PUSH_MANIFEST_ONLY=true
script: bash -e travis-build-scripts/run.sh
before_install:
- make install-build-deps
- make install-credential-helper
@@ -83,4 +90,7 @@ install:
before_script: echo nothing
after_success:
- make lint
- make lint
after_failure:
- ./travis-build-scripts/cleanup-cache.sh