Skip to content

Commit 60e9775

Browse files
authored
CLOUDP-81176: version<>tag, change image name (#66)
1 parent 255cce7 commit 60e9775

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: 'Create PR'
22
description: 'create PR with configuration'
3+
inputs:
4+
REVIEWERS:
5+
description: "Add reviewers to PR"
6+
required: true
37
runs:
48
using: 'docker'
59
image: 'Dockerfile'
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
22

33
# Create Pull Request (by default on current branch)
4-
gh pr create --title "Release ${VERSION}" --body "This is an autogenerated PR to prepare for the release"
4+
gh pr create \
5+
--title "Release ${VERSION}" \
6+
--body "This is an autogenerated PR to prepare for the release" \
7+
--reviewer "${INPUT_REVIEWERS}"

.github/workflows/release-branch.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
- name: Create all-in-one installation script
2828
uses: ./.github/actions/gen-install-scripts
2929
with:
30-
IMAGE_URL: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
31-
version: ${{ env.VERSION }}
30+
IMAGE_URL: ${{ secrets.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
3231

3332
- name: Create branch and push it
3433
run: |
@@ -45,4 +44,6 @@ jobs:
4544
- name: Create PR
4645
uses: ./.github/actions/create-pr
4746
env:
48-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
with:
49+
REVIEWERS: antonlisovenko,vasilevp,leo-ri

.github/workflows/release-post-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
with:
5959
tag_name: ${{ steps.tag.outputs.tag }}
60-
release_name: Release ${{ steps.tag.outputs.version }}
60+
release_name: ${{ steps.tag.outputs.tag }}
6161
body_path: changelog.md
6262
draft: true
6363
prerelease: false

0 commit comments

Comments
 (0)