Skip to content

Rebuild

Rebuild #2130

Workflow file for this run

name: Rebuild
on:
schedule:
- cron: '30 2 * * *'
permissions:
contents: write
packages: write
id-token: write
jobs:
rebuild:
runs-on: ubuntu-24.04
name: Rebuild
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
include:
- branch: prod-2-7
build_options: --docker-compose-version-2
- branch: prod-2-8
build_options: --docker-compose-version-2
- branch: prod-2-9
build_options: ''
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ matrix.branch }}
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: '3.11'
- run: python3 -m pip install --requirement=ci/requirements.txt
- name: Environment information
run: c2cciutils-env || true
- run: touch env.secrets
- run: sed -i '/^DOCKER_TAG=/d' env.project
- name: Build
run: ./build ${{ matrix.build_options }}
- name: Publish
run: tag-publish --branch=${{ matrix.branch }} --type=rebuild
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}