Commit aeea4ee 1 parent 790c36c commit aeea4ee Copy full SHA for aeea4ee
File tree 3 files changed +22
-22
lines changed
3 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 2
2
name : Build & Publish container
3
3
' on ' :
4
4
push :
5
+ branches : [main]
5
6
tags : [v**]
6
7
pull_request :
7
8
workflow_dispatch :
59
60
push : ${{ github.event_name != 'pull_request' }}
60
61
tags : ${{ steps.meta.outputs.tags }}
61
62
labels : ${{ steps.meta.outputs.labels }}
63
+
64
+ publish :
65
+ runs-on : ubuntu-latest
66
+ needs : [build_and_publish]
67
+ if : github.ref == 'refs/heads/main'
68
+ steps :
69
+ - uses : actions/checkout@main
70
+
71
+ - name : Bump version and push tag
72
+ id : tag_version
73
+ uses :
mathieudutour/[email protected]
74
+ with :
75
+ github_token : ${{ secrets.GITHUB_TOKEN }}
76
+
77
+ - name : Create a GitHub release
78
+
79
+ with :
80
+ tag : ${{ steps.tag_version.outputs.new_tag }}
81
+ name : Release ${{ steps.tag_version.outputs.new_tag }}
82
+ body : ${{ steps.tag_version.outputs.changelog }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ author: 'Jason Field'
4
4
description : ' Run yamllint on your yaml files with ease'
5
5
runs :
6
6
using : ' docker'
7
- image : docker://ghcr.io/actionshub/yamllint:v1.1.2
7
+ image : docker://ghcr.io/actionshub/yamllint:v1.3.0
8
8
branding :
9
9
icon : ' edit-3'
10
10
color : ' red'
You can’t perform that action at this time.
0 commit comments