mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-08 19:06:46 +02:00
Update Github actions
This commit is contained in:
parent
7c73d0f20c
commit
2a657029f1
12
.github/workflows/images_build_rhel.yml
vendored
12
.github/workflows/images_build_rhel.yml
vendored
@ -250,7 +250,7 @@ jobs:
|
|||||||
--env PFLT_DOCKERCONFIG=/temp-authfile.json \
|
--env PFLT_DOCKERCONFIG=/temp-authfile.json \
|
||||||
-v $PFLT_ARTIFACTS:/artifacts \
|
-v $PFLT_ARTIFACTS:/artifacts \
|
||||||
-v $PFLT_DOCKERCONFIG:/temp-authfile.json:ro \
|
-v $PFLT_DOCKERCONFIG:/temp-authfile.json:ro \
|
||||||
quay.io/opdev/preflight:1.5.1 check container ${{ steps.build_image.outputs.image-with-tag }} --submit
|
quay.io/opdev/preflight:stable check container ${{ steps.build_image.outputs.image-with-tag }} --submit
|
||||||
|
|
||||||
- name: Push to RedHat certification procedure
|
- name: Push to RedHat certification procedure
|
||||||
id: push_to_registry_all_tags
|
id: push_to_registry_all_tags
|
||||||
@ -353,7 +353,7 @@ jobs:
|
|||||||
|
|
||||||
runs-on: [self-hosted, linux, ARM64]
|
runs-on: [self-hosted, linux, ARM64]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Detect Build Base Image
|
- name: Detect Build Base Image
|
||||||
id: build_base_image
|
id: build_base_image
|
||||||
@ -364,7 +364,7 @@ jobs:
|
|||||||
|
|
||||||
echo "build_base=$BUILD_BASE" >> $GITHUB_OUTPUT
|
echo "build_base=$BUILD_BASE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Genarate image name
|
- name: Generate image name
|
||||||
id: image_name
|
id: image_name
|
||||||
env:
|
env:
|
||||||
REDHAT_CERTIFY_CREDENTIALS: ${{ secrets.REDHAT_CERTIFY_CREDENTIALS }}
|
REDHAT_CERTIFY_CREDENTIALS: ${{ secrets.REDHAT_CERTIFY_CREDENTIALS }}
|
||||||
@ -390,7 +390,7 @@ jobs:
|
|||||||
echo "password=$REGISTRY_PASSWORD" >> $GITHUB_OUTPUT
|
echo "password=$REGISTRY_PASSWORD" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Log in to Quay.io
|
- name: Log in to Quay.io
|
||||||
uses: redhat-actions/podman-login@v1.5
|
uses: redhat-actions/podman-login@v1.6
|
||||||
env:
|
env:
|
||||||
LOGIN: ${{ steps.login_credentials.outputs.username }}
|
LOGIN: ${{ steps.login_credentials.outputs.username }}
|
||||||
PASSWORD: ${{ steps.login_credentials.outputs.password }}
|
PASSWORD: ${{ steps.login_credentials.outputs.password }}
|
||||||
@ -407,7 +407,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate tags
|
- name: Generate tags
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.REGISTRY_NAMESPACE }}/${{ steps.image_name.outputs.image_name }}
|
images: ${{ env.REGISTRY }}/${{ env.REGISTRY_NAMESPACE }}/${{ steps.image_name.outputs.image_name }}
|
||||||
tags: |
|
tags: |
|
||||||
@ -458,7 +458,7 @@ jobs:
|
|||||||
--env PFLT_DOCKERCONFIG=/temp-authfile.json \
|
--env PFLT_DOCKERCONFIG=/temp-authfile.json \
|
||||||
-v $PFLT_ARTIFACTS:/artifacts \
|
-v $PFLT_ARTIFACTS:/artifacts \
|
||||||
-v $PFLT_DOCKERCONFIG:/temp-authfile.json:ro \
|
-v $PFLT_DOCKERCONFIG:/temp-authfile.json:ro \
|
||||||
quay.io/opdev/preflight:1.5.1 check container ${{ steps.build_image.outputs.image-with-tag }} --submit
|
quay.io/opdev/preflight:stable check container ${{ steps.build_image.outputs.image-with-tag }} --submit
|
||||||
|
|
||||||
- name: Push to RedHat certification procedure
|
- name: Push to RedHat certification procedure
|
||||||
id: push_to_registry_all_tags
|
id: push_to_registry_all_tags
|
||||||
|
6
.github/workflows/images_build_windows.yml
vendored
6
.github/workflows/images_build_windows.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
|||||||
is_default_branch: ${{ steps.branch_info.outputs.is_default_branch }}
|
is_default_branch: ${{ steps.branch_info.outputs.is_default_branch }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
@ -199,7 +199,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user