Skip to content

fix(gorgone): Add missing centengine report part to centreon-storage database #48

fix(gorgone): Add missing centengine report part to centreon-storage database

fix(gorgone): Add missing centengine report part to centreon-storage database #48

name: docker-gorgone-testing
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- develop
- dev-[2-9][0-9].[0-9][0-9].x
paths:
- ".github/docker/Dockerfile.gorgone-testing-*"
- ".github/workflows/docker-gorgone-testing.yml"
pull_request:
paths:
- ".github/docker/Dockerfile.gorgone-testing-*"
- ".github/workflows/docker-gorgone-testing.yml"
jobs:
get-version:
uses: ./.github/workflows/get-version.yml
dockerize:
needs: [get-version]
runs-on: ubuntu-22.04
strategy:
matrix:
distrib: [alma8, alma9, bullseye, bookworm, jammy]
steps:
- name: Checkout sources
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Login to registry
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3.2.0
with:
registry: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}
username: ${{ secrets.DOCKER_REGISTRY_ID }}
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
- uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
file: .github/docker/Dockerfile.gorgone-testing-${{ matrix.distrib }}
context: .
pull: true
push: true
tags: ${{ vars.DOCKER_INTERNAL_REGISTRY_URL }}/gorgone-testing-${{ matrix.distrib }}:${{ needs.get-version.outputs.gorgone_docker_version }}