Skip to content

Commit

Permalink
Update GHA for release
Browse files Browse the repository at this point in the history
  • Loading branch information
phuonghuynh committed Aug 11, 2021
1 parent 83bdecc commit d47951d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
tag_name:
required: true
description: tag name for the release
description: tag name for the release, ex v1.2.3

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -29,8 +29,16 @@ jobs:
- name: make new release
uses: softprops/[email protected]
with:
token: ${{ env.GITHUB_TOKEN }}
tag_name: ${{env.TAG_NAME}}
body: "#release-by-ci for v${{env.TAG_NAME}}"
body: "#release-by-ci for ${{env.TAG_NAME}}"
draft: false
prerelease: false

- uses: elgohr/Publish-Docker-Github-Action@master
with:
dockerfile: Dockerfile
tags: "latest,${{env.TAG_NAME}}"
registry: docker.pkg.github.com
name: ${{env.REPOSITORY_NAME}}/webapp-aws
username: ${{github.actor}}
password: ${{env.GITHUB_TOKEN}}
28 changes: 0 additions & 28 deletions .github/workflows/on-release.yml

This file was deleted.

0 comments on commit d47951d

Please sign in to comment.