Skip to content

Commit

Permalink
github.event.pull_request.title
Browse files Browse the repository at this point in the history
  • Loading branch information
hlebkanonik committed Sep 29, 2023
1 parent bd94513 commit 1b1b2f1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/retag-release.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Retag RC Docker image

on:
push:
branches:
- "master"
- "test/*"
pull_request_review:
types: [submitted]

env:
AWS_REGION: ${{ vars.AWS_REGION }} # set this to your preferred AWS region, e.g. us-west-1
Expand Down Expand Up @@ -44,7 +42,7 @@ jobs:
- name: Create variables
id: vars
run: |
echo "tag=$(echo $GITHUB_HEAD_REF | sed -nE 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/p')" >> $GITHUB_OUTPUT
echo "tag=$(echo '${{ github.event.pull_request.title }}' | sed -nE 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/p')" >> $GITHUB_OUTPUT
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down

0 comments on commit 1b1b2f1

Please sign in to comment.