Skip to content

Commit

Permalink
added create release to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davenicoll committed May 26, 2023
1 parent 1b459a4 commit 8fbee92
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/docker-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,19 @@ jobs:
buildoptions: "--compress --force-rm"
dockerfile: Dockerfile/full-ubuntu-amd64
tags: "latest,${{ env.IMAGE_TAG }}"

release:
name: release
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ env.IMAGE_TAG }}
draft: false
prerelease: false

0 comments on commit 8fbee92

Please sign in to comment.