File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Push Backend Image on Tag
2
2
3
3
on :
4
- push :
4
+ create :
5
5
tags :
6
6
- ' *'
7
7
Original file line number Diff line number Diff line change 6
6
7
7
permissions :
8
8
contents : write
9
- actions : write # Allows the workflow to trigger other workflows on push
9
+ actions : write
10
+ workflows : write
10
11
11
12
jobs :
12
13
backport :
81
82
}
82
83
# Create new beta tag
83
84
git tag ${{ steps.list-branches.outputs.new_beta_tag }}
84
- # Push the changes and tag to the beta branch
85
+ # Push the changes and tag to the beta branch using PAT
85
86
git push origin ${{ steps.list-branches.outputs.beta }} --force
86
87
git push origin ${{ steps.list-branches.outputs.new_beta_tag }}
87
88
# Checkout the stable branch
93
94
}
94
95
# Create new stable tag
95
96
git tag ${{ steps.list-branches.outputs.new_stable_tag }}
96
- # Push the changes and tag to the stable branch
97
+ # Push the changes and tag to the stable branch using PAT
97
98
git push origin ${{ steps.list-branches.outputs.stable }} --force
98
- git push origin ${{ steps.list-branches.outputs.new_stable_tag }}
99
+ git push origin ${{ steps.list-branches.outputs.new_stable_tag }}
You can’t perform that action at this time.
0 commit comments