mirror of
https://github.com/minoplhy/docker-ripe-atlas.git
synced 2025-04-21 20:36:58 +00:00
Try ARM32 build
This commit is contained in:
parent
3d7ef340f7
commit
d75e9dcc31
@ -31,11 +31,24 @@ jobs:
|
|||||||
- job: docker_nightly
|
- job: docker_nightly
|
||||||
displayName: "docker nightly image build"
|
displayName: "docker nightly image build"
|
||||||
pool:
|
pool:
|
||||||
|
name: "$(POOL)"
|
||||||
vmImage: "ubuntu-latest"
|
vmImage: "ubuntu-latest"
|
||||||
workspace:
|
workspace:
|
||||||
clean: all
|
clean: all
|
||||||
timeoutInMinutes: 20
|
timeoutInMinutes: 20
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
amd64:
|
||||||
|
ARCH: "amd64"
|
||||||
|
DOCKER_IMAGE_TAG: "latest"
|
||||||
|
POOL: "Azure Pipelines"
|
||||||
|
arm32:
|
||||||
|
ARCH: "arm32"
|
||||||
|
DOCKER_IMAGE_TAG: "latest-arm32"
|
||||||
|
POOL: "OtakuNeko ARM32"
|
||||||
|
maxParallel: 2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
@ -57,7 +70,7 @@ jobs:
|
|||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
inputs:
|
inputs:
|
||||||
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
|
||||||
artifactName: 'deb'
|
artifactName: '$(ARCH)'
|
||||||
parallel: true
|
parallel: true
|
||||||
parallelCount: 20
|
parallelCount: 20
|
||||||
|
|
||||||
@ -71,8 +84,8 @@ jobs:
|
|||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
docker tag ripe-atlas $(DOCKER_IMAGE_BASENAME):latest
|
docker tag ripe-atlas $(DOCKER_IMAGE_BASENAME):$(DOCKER_IMAGE_TAG)
|
||||||
docker push $(DOCKER_IMAGE_BASENAME):latest
|
docker push $(DOCKER_IMAGE_BASENAME):$(DOCKER_IMAGE_TAG)
|
||||||
displayName: "Push image"
|
displayName: "Push image"
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['Build.Reason'], 'PullRequest'))
|
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), ne(variables['Build.Reason'], 'PullRequest'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user