1
0
Fork 0
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:
shuting 2020-10-09 18:49:29 -07:00 committed by GitHub
parent e3521ef96c
commit 0c7e5aa755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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