Skip to content

Commit f8a6f91

Browse files
authored
Merge pull request #13 from bpineau/publish-docker
Publish docker images on release
2 parents 9688d18 + a3ba636 commit f8a6f91

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
name: CI
2-
on: [push, pull_request]
2+
on:
3+
# don't double build on PRs.
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
tags-ignore:
9+
- '**'
310

411
jobs:
512
build:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@v1
2222

2323
- name: Log into Docker registry
24-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login docker.pkg.github.com -u ${{ github.actor }} --password-stdin
24+
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u ${{ github.actor }} --password-stdin
2525

2626
- name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v1

0 commit comments

Comments
 (0)