mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 22:19:25 +00:00
Small CI for openapi2jsonschema, publish docker image
This commit is contained in:
parent
244606a1cd
commit
3aa09646b6
1 changed files with 7 additions and 0 deletions
7
.github/workflows/openapi2jsonschema.yml
vendored
7
.github/workflows/openapi2jsonschema.yml
vendored
|
|
@ -19,6 +19,7 @@ jobs:
|
|||
working-directory: ./scripts
|
||||
run: make docker-test docker-acceptance
|
||||
|
||||
# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||
with:
|
||||
|
|
@ -26,6 +27,12 @@ jobs:
|
|||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
id: meta
|
||||
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue