1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 01:16:55 +00:00
kyverno/.github/workflows/image.yaml
shuting f15730b3a9
Publish test image (#1185)
* push image on PR

* add docker login in CI

* publish image once PR is merged

* update order

* change condition when publish image

* add image publish as a separate github action

* remove condition

* set go env
2020-10-09 19:25:32 -07:00

26 lines
No EOL
592 B
YAML

name: image
on:
push:
branches:
- 'master'
jobs:
push-images:
runs-on: ubuntu-latest
steps:
- 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
- name: login to docker hub
run: echo "${{ secrets.DOCKERIO_PASSWORD }}" | docker login -u "${{ secrets.DOCKERIO_USERNAME }}" --password-stdin
- name: docker images publish
run: |
make docker-publish-all