Skip to content

ci(github): build third-party images independently per OS version to … #410

ci(github): build third-party images independently per OS version to …

ci(github): build third-party images independently per OS version to … #410

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
name: BuildThirdpartyDockerRegularly - build and publish thirdparty every week
on:
push:
branches:
- master
- 'v[0-9]+.*' # release branch
- ci-test # testing branch for github action
- '*dev' # developing branch
paths:
- 'docker/pegasus-build-env/**'
- 'docker/thirdparties-src/**'
- 'docker/thirdparties-bin/**'
- '.github/workflows/build-push-env-docker.yml'
- '.github/workflows/thirdparty-regular-push.yml'
- 'thirdparty/**'
# for manually triggering workflow
workflow_dispatch:
# run for every week 2am UTC+8(Beijing)
schedule:
- cron: '0 18 * * 1'
jobs:
build_push_thirdparty_docker_images:
strategy:
fail-fast: false
matrix:
osversion:
- ubuntu1804
- ubuntu2004
- ubuntu2204
- rockylinux9
uses: "./.github/workflows/build-push-thirdparty.yml"
with:
osversion: ${{ matrix.osversion }}
secrets: inherit