Skip to content

Commit

Permalink
Merge pull request #2215 from GiganticMinecraft/fix_commands
Browse files Browse the repository at this point in the history
fix commands
  • Loading branch information
rito528 authored Sep 12, 2024
2 parents 6d8422b + e7fe043 commit 4023963
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 4023963

Please sign in to comment.