diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-26 01:44:40 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-26 01:44:40 +0000 |
| commit | cf7a7afac707c1f5e2b420ecb482c64deac45377 (patch) | |
| tree | 2a731c4a50bc604ff7ed0470f7f43a248bbccea2 | |
| parent | 815777686c9be3508e006265048e4cba37cab688 (diff) | |
| download | ao-coverage-cf7a7afac707c1f5e2b420ecb482c64deac45377.tar.gz ao-coverage-cf7a7afac707c1f5e2b420ecb482c64deac45377.tar.bz2 ao-coverage-cf7a7afac707c1f5e2b420ecb482c64deac45377.zip | |
Echo subbed file part 2
| -rw-r--r-- | .drone.yml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ steps: kubernetes_cert: from_secret: kube_cert commands: - - echo $(awk '{sub("'"${DRONE_REPO}"':latest","'"${DRONE_REPO}:${DRONE_COMMIT_SHA}"'", $0); print}' .kubernetes/deployment.yaml) > .kubernetes/deployment.yaml + - echo "$(awk '{gsub("'"${DRONE_REPO}"':latest","'"${DRONE_REPO}:${DRONE_COMMIT_SHA}"'")}1' .kubernetes/deployment.yaml)" > .kubernetes/deployment.yaml - kubectl apply -f .kubernetes when: event: |
