2020-10-09 19:22:05 -07:00
|
|
|
name: image
|
2020-10-09 19:16:28 -07:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-11-03 13:56:57 -08:00
|
|
|
- 'main'
|
2020-10-09 19:16:28 -07:00
|
|
|
jobs:
|
|
|
|
push-images:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-10-09 19:25:32 -07:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Unshallow
|
|
|
|
run: git fetch --prune --unshallow
|
|
|
|
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.14
|
|
|
|
|
2020-11-19 12:19:30 -08:00
|
|
|
- name: login to GitHub Container Registry
|
|
|
|
run: echo ${{ secrets.CR_PAT }} | docker login https://docker.pkg.github.com -u $GITHUB_ACTOR --password-stdin
|
2020-10-09 19:16:28 -07:00
|
|
|
|
|
|
|
- name: docker images publish
|
|
|
|
run: |
|
|
|
|
make docker-publish-all
|