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:
@@ -17,34 +17,7 @@ jobs:
|
||||
- registryUrl: '@server_url@'
|
||||
userName: '@job_token@'
|
||||
passwordSecret: dockersecret
|
||||
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !CommandStep
|
||||
name: Download powerpc image
|
||||
runInContainer: true
|
||||
image: ubuntu:noble
|
||||
interpreter: !DefaultInterpreter
|
||||
commands: |
|
||||
apt update -y
|
||||
apt install -y wget ca-certificates tar gzip
|
||||
mkdir -p rootfs
|
||||
cd rootfs
|
||||
wget -O wii.tar.gz https://downloads.tesses.net/cache/other/rootfs/wii-rootfs.tar.gz
|
||||
tar xvzf wii.tar.gz
|
||||
rm wii.tar.gz
|
||||
cd ..
|
||||
useTTY: true
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
- !BuildImageStep
|
||||
name: Build the contianer
|
||||
dockerfile: Dockerfile.arch-ppc
|
||||
output: !RegistryOutput
|
||||
tags: onedev.site.tesses.net/dependencies/dependencies-arch:latest
|
||||
registryLogins:
|
||||
- registryUrl: '@server_url@'
|
||||
userName: '@job_token@'
|
||||
passwordSecret: dockersecret
|
||||
platforms: linux/ppc
|
||||
platforms: linux/amd64
|
||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
||||
triggers:
|
||||
- !BranchUpdateTrigger
|
||||
|
||||
Reference in New Issue
Block a user