This repository was archived by the owner on Jun 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change 9
9
10
10
permissions :
11
11
packages : " write"
12
- contents : " read "
12
+ contents : " write "
13
13
id-token : " write"
14
14
15
15
jobs :
@@ -48,22 +48,19 @@ jobs:
48
48
run : " make test"
49
49
deploy :
50
50
runs-on : " ubuntu-20.04"
51
- # needs:
52
- # - "test"
53
- # if: "${{ github.event_name == 'release' }}"
51
+ needs :
52
+ - " test"
53
+ if : " ${{ github.event_name == 'release' }}"
54
54
steps :
55
55
- name : " Check out repository code"
56
56
uses : " actions/checkout@v3"
57
+ with :
58
+ ref : " main"
57
59
- name : " Update the image tag"
58
60
run : " make tag=${{ github.ref_name }} update-tag"
59
- - name : debug
60
- run : cat ./kubernetes/values.yaml
61
- - name : debug
62
- run : git diff
63
61
- name : " Commit changes"
64
- run : >
65
- git config --global user.name ${{ github.actor }};
66
- git config --global user.email ${{ github.actor }}@github.action;
67
- git checkout -b test02;
68
- git commit -am "Updating the Docker image tag";
69
- git push origin test02;
62
+ run : |
63
+ git config user.name github-actions
64
+ git config user.email [email protected]
65
+ git commit -am "Updating the Docker image tag"
66
+ git push origin main
You can’t perform that action at this time.
0 commit comments