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:
parent
e5f408742f
commit
4ba2aad493
1 changed files with 1 additions and 3 deletions
4
.github/workflows/image.yaml
vendored
4
.github/workflows/image.yaml
vendored
|
@ -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
|
Loading…
Add table
Reference in a new issue