mirror of
https://onedev.site.tesses.net/Dependencies
synced 2026-02-08 09:45:44 +00:00
Edit .onedev-buildspec.yml
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: 39
|
version: 40
|
||||||
jobs:
|
jobs:
|
||||||
- name: Dependency Container for crosslang
|
- name: Dependency Container for crosslang
|
||||||
steps:
|
steps:
|
||||||
@@ -9,65 +9,14 @@ jobs:
|
|||||||
withSubmodules: false
|
withSubmodules: false
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
- !BuildImageStep
|
- !BuildImageStep
|
||||||
name: Build x86_64 ubuntu docker image
|
name: Build docker image
|
||||||
output: !RegistryOutput
|
output: !RegistryOutput
|
||||||
tags: onedev.site.tesses.net/dependencies/ubuntu-x86_64:latest
|
tags: onedev.site.tesses.net/dependencies/dependencies:latest
|
||||||
registryLogins:
|
registryLogins:
|
||||||
- registryUrl: '@server_url@'
|
- registryUrl: '@server_url@'
|
||||||
userName: '@job_token@'
|
userName: '@job_token@'
|
||||||
passwordSecret: dockersecret
|
passwordSecret: dockersecret
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build arm64 ubuntu docker image
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/dependencies/ubuntu-arm64:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/arm64
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build ppc64le ubuntu docker image
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/dependencies/ubuntu-ppc64le:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/ppc64le
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build riscv64 ubuntu docker image
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/dependencies/ubuntu-riscv64:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/riscv64
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build s390x ubuntu docker image
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/dependencies/ubuntu-s390x:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/s390x
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build ppc arch docker image
|
|
||||||
dockerfile: Dockerfile.arch-ppc
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/dependencies/arch-ppc:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/amd64
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||||
triggers:
|
triggers:
|
||||||
- !BranchUpdateTrigger
|
- !BranchUpdateTrigger
|
||||||
|
|||||||
Reference in New Issue
Block a user