Skip to content

Commit

Permalink
chore: release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
knrdl committed Apr 16, 2023
1 parent 0f1589f commit 084aaa7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
- uses: actions/checkout@v2
- id: imagetag
run: |
tag=$(echo "${{github.ref_name}}" | cut -dv -f2)
echo "Docker Image Tag: $tag"
echo "::set-env name=tag::$tag"
echo "DOCKER_IMAGE_TAG=$(echo ${{github.ref_name}} | cut -dv -f2)" >> $GITHUB_ENV
- name: Create Release
id: create_release
if: github.event_name != 'pull_request'
Expand All @@ -28,5 +26,5 @@ jobs:
prerelease: false
body: |
Docker images:
- ${{ github.repository }}:${{steps.imagetag.outputs.tag}}
- ghcr.io/${{ github.repository }}:${{steps.imagetag.outputs.tag}}
- ${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }}
- ghcr.io/${{ github.repository }}:${{ env.DOCKER_IMAGE_TAG }}

0 comments on commit 084aaa7

Please sign in to comment.