File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -32,17 +32,30 @@ jobs:
32
32
with :
33
33
fetch-depth : 0
34
34
token : ${{ secrets.GITHUB_TOKEN }}
35
-
35
+ - name : Update plugin.yaml image tag
36
+ id : manifests
37
+ uses : mikefarah/yq@master
38
+ with :
39
+ cmd : yq -i '.spec.sidecar.container.image = "crenshawdotdev/argocd-executor-plugin:v0.0.1"' manifests/plugin.yaml
40
+ - name : Update install manifest
41
+ run : |
42
+ # Download the binary
43
+ curl -sLO https://github.com/argoproj/argo-workflows/releases/download/v3.4.3/argo-darwin-amd64.gz
44
+ gunzip argo-darwin-amd64.gz
45
+ chmod +x argo-darwin-amd64
46
+ argo-darwin-amd64 executor-plugin build ./manifests
36
47
- name : Push release tag
37
48
run : |
38
49
set -ue
39
50
40
51
git config --global user.email "${GIT_EMAIL}"
41
52
git config --global user.name "${GIT_USERNAME}"
53
+
54
+ git commit manifests/ -m "Bump version to $RELEASE_TAG"
55
+ git push origin HEAD
42
56
43
57
git tag ${RELEASE_TAG}
44
58
git push origin ${RELEASE_TAG} --force
45
-
46
59
- name : Create GitHub release
47
60
uses : softprops/action-gh-release@v1
48
61
env :
You can’t perform that action at this time.
0 commit comments