mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-16 19:40:59 +02:00
Updated
This commit is contained in:
6
.github/workflows/images_build_test.yml
vendored
6
.github/workflows/images_build_test.yml
vendored
@ -698,7 +698,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build: ${{ fromJson(needs.init_build.outputs.components) }}
|
build: ["agent"]
|
||||||
os: ${{ fromJson(needs.init_build.outputs.os) }}
|
os: ${{ fromJson(needs.init_build.outputs.os) }}
|
||||||
|
|
||||||
runs-on: [self-hosted, linux, ubuntu]
|
runs-on: [self-hosted, linux, ubuntu]
|
||||||
@ -1051,7 +1051,6 @@ jobs:
|
|||||||
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
org.opencontainers.image.created=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
|
||||||
|
|
||||||
- name: Preflight certification
|
- name: Preflight certification
|
||||||
if: ${{ env.AUTO_PUSH_IMAGES != 'true' }}
|
|
||||||
env:
|
env:
|
||||||
PFLT_CERTIFICATION_PROJECT_ID: ${{ secrets[format('{0}_{1}_PROJECT', needs.init_build.outputs.secret_prefix, steps.var_format.outputs.matrix_build)] }}
|
PFLT_CERTIFICATION_PROJECT_ID: ${{ secrets[format('{0}_{1}_PROJECT', needs.init_build.outputs.secret_prefix, steps.var_format.outputs.matrix_build)] }}
|
||||||
PFLT_PYXIS_API_TOKEN: ${{ secrets.REDHAT_API_TOKEN }}
|
PFLT_PYXIS_API_TOKEN: ${{ secrets.REDHAT_API_TOKEN }}
|
||||||
@ -1060,6 +1059,7 @@ jobs:
|
|||||||
IMAGE_TAG: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
IMAGE_TAG: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
|
||||||
PREFLIGHT_IMAGE: ${{ env.PREFLIGHT_IMAGE }}
|
PREFLIGHT_IMAGE: ${{ env.PREFLIGHT_IMAGE }}
|
||||||
PFLT_LOGFILE: "/tmp/artifacts/preflight.log"
|
PFLT_LOGFILE: "/tmp/artifacts/preflight.log"
|
||||||
|
SUBMIT_IMAGE: ${{ env.AUTO_PUSH_IMAGES != 'true' && '--submit' || '' }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $PFLT_ARTIFACTS
|
mkdir -p $PFLT_ARTIFACTS
|
||||||
echo "::group::Pull preflight \"$PREFLIGHT_IMAGE\" image"
|
echo "::group::Pull preflight \"$PREFLIGHT_IMAGE\" image"
|
||||||
@ -1067,7 +1067,7 @@ jobs:
|
|||||||
|
|
||||||
echo "::group::Perform certification tests"
|
echo "::group::Perform certification tests"
|
||||||
export PFLT_DOCKERCONFIG="$HOME/.docker/config.json"
|
export PFLT_DOCKERCONFIG="$HOME/.docker/config.json"
|
||||||
preflight check container $IMAGE_TAG
|
preflight check container $IMAGE_TAG --submit
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
- name: Sign the images with GitHub OIDC Token
|
- name: Sign the images with GitHub OIDC Token
|
||||||
|
Reference in New Issue
Block a user