From 82b4ca042be2200bcbb22096c1c32766397819d3 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 25 Apr 2023 19:17:45 +0900 Subject: [PATCH] Added build for Azure --- .github/workflows/images_build_azure.yml | 25 ++---------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/images_build_azure.yml b/.github/workflows/images_build_azure.yml index 318c2fc24..73f2ff2d6 100644 --- a/.github/workflows/images_build_azure.yml +++ b/.github/workflows/images_build_azure.yml @@ -6,10 +6,9 @@ on: - published push: branches: - - '4.0' - '5.0' - '6.0' - - '6.2' + - '6.4' - 'trunk' paths: - 'Dockerfiles/**' @@ -17,15 +16,13 @@ on: - '!**/README.md' - '!Dockerfiles/*/rhel/*' - '!Dockerfiles/*/windows/*' - - '.github/workflows/images_build.yml' + - '.github/workflows/images_build_azure.yml' defaults: run: shell: bash env: - DOCKER_REPOSITORY: "zabbix" - LATEST_BRANCH: ${{ github.event.repository.default_branch }} BASE_BUILD_NAME: "build-base" jobs: @@ -36,7 +33,6 @@ jobs: os: ${{ steps.os.outputs.list }} database: ${{ steps.database.outputs.list }} components: ${{ steps.components.outputs.list }} - is_default_branch: ${{ steps.branch_info.outputs.is_default_branch }} steps: - name: Checkout repository uses: actions/checkout@v3 @@ -65,23 +61,6 @@ jobs: echo "list=$component_list" >> $GITHUB_OUTPUT - - name: Get branch info - id: branch_info - run: | - github_ref="${{ github.ref }}" - result=false - - if [[ "$github_ref" == "refs/tags/"* ]]; then - github_ref=${github_ref%.*} - fi - - github_ref=${github_ref##*/} - - if [[ "$github_ref" == "${{ env.LATEST_BRANCH }}" ]]; then - result=true - fi - echo "is_default_branch=$result" >> $GITHUB_OUTPUT - build_base: timeout-minutes: 30 name: Build base on ${{ matrix.os }}