mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
Publish test image (#1179)
* add annotation in best practice policy require-pod-probes * migrate repo * push image on PR * add docker login in CI * publish image once PR is merged * update order
This commit is contained in:
parent
e3521ef96c
commit
0c7e5aa755
1 changed files with 10 additions and 1 deletions
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
with:
|
||||
go-version: 1.14
|
||||
|
||||
- name : docker images build
|
||||
- name: docker images build
|
||||
run: |
|
||||
make docker-build-all
|
||||
|
||||
|
@ -43,3 +43,12 @@ jobs:
|
|||
${GITHUB_WORKSPACE}/scripts/verify-deployment.sh -n kyverno kyverno
|
||||
echo ">>> Run Kyverno e2e test"
|
||||
make test-e2e
|
||||
|
||||
- name: login to docker hub
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'closed' && 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
|
||||
run: |
|
||||
make docker-publish-all
|
||||
|
|
Loading…
Add table
Reference in a new issue