[containers/*] Create a new workflow for verification. (#4)

* [containers/*] Create a new workflow for verification. #3 follow-up

Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
Fran Mulero
2022-06-15 15:46:21 +02:00
committed by GitHub
parent 69424bf46e
commit 9c6808be8f
2 changed files with 31 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ jobs:
with:
pipeline: vib-verify.json
env:
# This workflow is not triggered by any git event. Instead of using SHA_ARCHIVE we are
# setting directly the main branch url.
VIB_ENV_URL: https://api.github.com/repos/bitnami/containers/tarball/main
# Path with docker resources
VIB_ENV_PATH: ${{ matrix.flavor }}
# Container name

View File

@@ -0,0 +1,28 @@
{
"phases": {
"package": {
"context": {
"resources": {
"url": "{VIB_ENV_URL}",
"path": "{VIB_ENV_PATH}"
}
},
"actions": [
{
"action_id": "container-image-package",
"params": {
"application": {
"details": {
"name": "{VIB_ENV_CONTAINER}",
"tag": "{VIB_ENV_TAG}"
}
}
}
},
{
"action_id": "container-image-lint"
}
]
}
}
}