fix minio copy command

This commit is contained in:
2023-08-21 08:30:58 -04:00
parent 3fc41cf115
commit 2de485e1ed
+6 -2
View File
@@ -32,7 +32,11 @@ spec:
steps:
- name: git-clone
image: bitnami/git
script: git clone $(params.gitrepositoryurl) $(workspaces.repo.path) && cd $(workspaces.repo.path) && git checkout $(params.gitrevision)
workingDir: $(workspaces.repo.path)
script: |
#!/bin/sh
git fetch --all --tags
git checkout $(params.gitrevision)
- name: npm-build
runAfter:
- git-clone
@@ -73,4 +77,4 @@ spec:
secretKeyRef:
name: minio-dev
key: secretKey
script: mc cp dist/ sakal-us/
script: mc cp --recursive dist/ sakal-us/