Skip to content

Commit 91feb2a

Browse files
Rearranged some steps for create-release action (#449)
1 parent 6f6ab25 commit 91feb2a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release-branch.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
with:
2727
fetch-depth: 0 #required for tags
2828

29+
- name: Create deploy configurations
30+
uses: ./.github/actions/gen-install-scripts
31+
with:
32+
IMAGE_URL_DOCKER: ${{ env.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
33+
IMAGE_URL_REDHAT: ${{ env.REDHAT_RELEASE_FULL_REPO }}:${{ env.VERSION }}
34+
VERSION: ${{ env.VERSION }}
35+
ENV: prod
36+
2937
- name: Setup Go
3038
uses: actions/setup-go@v2
3139
with:
@@ -39,14 +47,6 @@ jobs:
3947
run: |
4048
go get github.com/google/go-licenses && go-licenses csv cmd/manager/main.go --stderrthreshold 3 > third_party_licenses.txt
4149
42-
- name: Create deploy configurations
43-
uses: ./.github/actions/gen-install-scripts
44-
with:
45-
IMAGE_URL_DOCKER: ${{ env.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
46-
IMAGE_URL_REDHAT: ${{ env.REDHAT_RELEASE_FULL_REPO }}:${{ env.VERSION }}
47-
VERSION: ${{ env.VERSION }}
48-
ENV: prod
49-
5050
- name: Create branch and push it
5151
run: |
5252
git checkout -b "release/${VERSION}"

0 commit comments

Comments
 (0)