Skip to content

Commit

Permalink
Fix capturing taggers name
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronH88 committed Nov 21, 2023
1 parent 99c09da commit 9112ed7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ on:
required: true
default: 'no'
name:
description: 'Name of the person who will create a tag / draft release in commas e.g. "John Doe".'
description: 'Name of the person in single quotes who will create a tag / draft release.'
required: true
default: ''
type: string
email:
description: 'Email of the person who will create a tag / draft release.'
required: true
Expand Down Expand Up @@ -73,9 +74,9 @@ jobs:
run: |
echo "OWNER=$(echo 'console.log("${{ github.repository_owner }}".toLowerCase())' | node -)" >> $GITHUB_ENV
- name: Build container image
run: |
make container CONTAINERCMD="docker buildx" EXTRA_OPTS="--platform linux/amd64,linux/ppc64le,linux/arm64 --push" REPO=ghcr.io/${{ env.OWNER }}/receptor VERSION=v${{ github.event.inputs.version }} LATEST=yes
#- name: Build container image
# run: |
# make container CONTAINERCMD="docker buildx" EXTRA_OPTS="--platform linux/amd64,linux/ppc64le,linux/arm64 --push" REPO=ghcr.io/${{ env.OWNER }}/receptor VERSION=v${{ github.event.inputs.version }} LATEST=yes

- name: Get current time
uses: josStorer/get-current-time@v2
Expand All @@ -84,10 +85,10 @@ jobs:
- name: Create draft release
run: |
ansible-playbook tools/ansible/stage.yml \
-e version=${{ github.event.inputs.version }} \
-e version="${{ github.event.inputs.version }}" \
-e repo=${{ env.OWNER }}/receptor \
-e github_token=${{ secrets.GITHUB_TOKEN }} \
-e target_commitish=${{ github.event.inputs.ref }} \
-e target_commitish="${{ github.event.inputs.ref }}" \
-e tagger_name="${{ github.event.inputs.name }}" \
-e tagger_email="${{ github.event.inputs.email }}" \
-e time="${{ steps.current-time.outputs.time }}" \
Expand Down

0 comments on commit 9112ed7

Please sign in to comment.