Skip to content

Commit

Permalink
Merge pull request #25 from mitch1009/2ae4ba1
Browse files Browse the repository at this point in the history
[2ae4ba1] New Docker Trigger Action release
  • Loading branch information
mitch1009 authored Sep 9, 2024
2 parents 2ae4ba1 + 8375d58 commit f3d5d2a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ on:
push:
tags:
- 'v*.*.*'
env:
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
permissions:
contents: write
id-token: write
pull-requests: write
jobs:
create-new-release:
name: Create New Release 🎉
Expand All @@ -18,9 +25,6 @@ jobs:
fetch-depth: 0

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
run: |
gh release create v$(jq -r ".version" package.json) \
--title "v$(jq -r ".version" package.json)" \
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mitch1009/docker-trigger",
"version": "1.0.13",
"version": "1.0.16",
"description": "docker trigger action",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f3d5d2a

Please sign in to comment.