Skip to content

Commit

Permalink
fix commands
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Sep 11, 2024
1 parent 466f9be commit e7fe043
Showing 1 changed file with 4 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,13 @@ spec:
template: upload-seichiassist
- name: download-seichiassist
container:
image: debian:bookworm-slim
image: alpine:3.20
volumeMounts:
- name: work
mountPath: /work
entrypoint: ["/bin/sh", "-c"]
command:
- "apt-get"
- "update"
- "&&"
- "apt-get"
- "install"
- "-y"
- "wget"
- "&&"
- "wget"
- "https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"
- "wget https://github.com/GiganticMinecraft/SeichiAssist/releases/download/{{ workflow.parameters.tag-name }}/SeichiAssist.jar"
- name: upload-seichiassist
container:
image: minio/mc:latest
Expand All @@ -99,19 +91,7 @@ spec:
mountPath: /work
entrypoint: ["/bin/sh", "-c"]
command:
- "mc"
- "alias"
- "set"
- "myminio"
- "seichi-private-plugin-blackhole-minio.minio:9000"
- "$minio-access-key"
- "$minio-access-secret"
- "&&"
- "mc"
- "cp"
- "SeichiAssist.jar"
- "myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"

- "mc alias set myminio seichi-private-plugin-blackhole-minio.minio:9000 $minio-access-key $minio-access-secret && mc cp SeichiAssist.jar myminio/seichiassist/{{ workflow.parameters.target-branch }}/SeichiAssist.jar"
parameters:
- src:
dependencyName: from-seichiassist-downloader
Expand Down

0 comments on commit e7fe043

Please sign in to comment.