File tree Expand file tree Collapse file tree 4 files changed +28
-31
lines changed Expand file tree Collapse file tree 4 files changed +28
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
branches : [master]
6
6
types :
7
7
- completed
8
- - requested
9
8
jobs :
10
9
goreleaser :
11
10
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
- name : Bump Version
1
+ name : Bump Git/Docker Version
2
2
on :
3
3
push :
4
4
branches :
5
5
- master
6
6
jobs :
7
- build :
7
+ semver :
8
8
runs-on : ubuntu-latest
9
+ outputs :
10
+ tag : ${{ steps.tagging.outputs.new_tag }}
9
11
steps :
10
12
- uses : actions/checkout@v2
11
13
with :
12
14
fetch-depth : ' 0'
13
15
- name : Bump version and push tag
14
16
uses : anothrNick/github-tag-action@1.26.0
17
+ id : tagging
15
18
env :
16
19
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17
- WITH_V : true
20
+ WITH_V : true
21
+ docker :
22
+ runs-on : ubuntu-latest
23
+ needs : semver
24
+ steps :
25
+ - name : Set up QEMU
26
+ uses : docker/setup-qemu-action@v1
27
+ - name : Set up Docker Buildx
28
+ uses : docker/setup-buildx-action@v1
29
+ - name : Login to DockerHub
30
+ uses : docker/login-action@v1
31
+ with :
32
+ username : ${{ github.repository_owner }}
33
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
34
+ - name : Build and push
35
+ id : docker_build
36
+ uses : docker/build-push-action@v2
37
+ with :
38
+ push : true
39
+ tags : ${{ github.repository }}:${{ needs.semver.outputs.tag }}
40
+ - name : Image digest
41
+ run : echo ${{ steps.docker_build.outputs.digest }}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Fetch what's new from AWS and send out notifications on social sites.
4
4
5
5
<p align =" center " ><img src =" https://i.imgur.com/HZLXzzz.jpg " width =" 700 " /></p >
6
6
7
- ![ Build Status] ( https://github.com/circa10a/go-aws-news/workflows/release /badge.svg )
7
+ ![ Build Status] ( https://github.com/circa10a/go-aws-news/workflows/GoReleaser /badge.svg )
8
8
[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/circa10a/go-aws-news )] ( https://pkg.go.dev/github.com/circa10a/go-aws-news/news?tab=doc )
9
9
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/circa10a/go-aws-news )] ( https://goreportcard.com/report/github.com/circa10a/go-aws-news )
10
10
![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/circa10a/go-aws-news?style=plastic )
You can’t perform that action at this time.
0 commit comments