1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

Publish test image (#1184)

* 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
This commit is contained in:
shuting 2020-10-09 19:22:05 -07:00 committed by GitHub
parent e5f408742f
commit 4ba2aad493
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
name: build
name: image
on:
push:
branches:
@ -8,10 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: login to docker hub
if: github.event.pull_request.merged == true
run: echo "${{ secrets.DOCKERIO_PASSWORD }}" | docker login -u "${{ secrets.DOCKERIO_USERNAME }}" --password-stdin
- name: docker images publish
if: github.event.pull_request.merged == true
run: |
make docker-publish-all