-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build workflows, update to go 1.17
- Loading branch information
Showing
5 changed files
with
74 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: docker | ||
directory: / | ||
schedule: | ||
interval: daily | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: daily | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: daily |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: docker build | ||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- v* | ||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generate tags | ||
id: tags | ||
uses: greboid/docker-tags-action@v5.0.2 | ||
with: | ||
separator: ' ' | ||
fullname: 'false' | ||
|
||
- name: Build image | ||
id: build-image-auth | ||
uses: redhat-actions/buildah-build@v2.6.2 | ||
with: | ||
dockerfiles: Dockerfile | ||
image: ${{ github.repository }} | ||
tags: ${{ steps.tags.outputs.tags }} | ||
extra-args: > | ||
--timestamp | ||
0 | ||
- name: Push to GHCR | ||
uses: redhat-actions/push-to-registry@v2.3.1 | ||
with: | ||
image: ${{ steps.build-image-auth.outputs.image }} | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
tags: ${{ steps.tags.outputs.tags }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
module github.com/greboid/irc-github/v4 | ||
|
||
go 1.15 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/greboid/irc-bot/v4 v4.0.0 | ||
github.com/greboid/irc/v4 v4.0.0 | ||
github.com/kouhin/envflag v0.0.0-20150818174321-0e9a86061649 | ||
github.com/sebdah/goldie/v2 v2.5.1 | ||
go.uber.org/zap v1.16.0 | ||
google.golang.org/grpc v1.32.0 | ||
) | ||
|
||
require ( | ||
github.com/golang/protobuf v1.4.2 // indirect | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2 // indirect | ||
github.com/imdario/mergo v0.3.11 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/sergi/go-diff v1.0.0 // indirect | ||
go.uber.org/atomic v1.6.0 // indirect | ||
go.uber.org/multierr v1.5.0 // indirect | ||
golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect | ||
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642 // indirect | ||
golang.org/x/text v0.3.3 // indirect | ||
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e // indirect | ||
google.golang.org/genproto v0.0.0-20200806141610-86f49bd18e98 // indirect | ||
google.golang.org/grpc v1.32.0 // indirect | ||
google.golang.org/protobuf v1.25.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters