mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
Publish test image (#1182)
* push image on PR * add docker login in CI * publish image once PR is merged * update order * change condition when publish image
This commit is contained in:
parent
0c7e5aa755
commit
5eb38114b9
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
|
@ -45,10 +45,10 @@ jobs:
|
|||
make test-e2e
|
||||
|
||||
- name: login to docker hub
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
||||
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_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
|
||||
if: github.event.pull_request.merged == true
|
||||
run: |
|
||||
make docker-publish-all
|
||||
|
|
Loading…
Reference in a new issue