Skip to content

Move reusable workflow and everest-clang-format from everest-utils to… #3

Move reusable workflow and everest-clang-format from everest-utils to…

Move reusable workflow and everest-clang-format from everest-utils to… #3

name: Build and push docker images
on:
workflow_dispatch:
inputs:
force_rebuild:
description: 'Force rebuild of all images'
default: false
type: boolean
push:
branches:
- '**'
tags:
- 'v*'
env:
REGISTRY: ghcr.io
jobs:
build-and-push-all-images:
name: Build and push all docker images
strategy:
matrix:
image_name: [everest-clang-format]
uses: everest/everest-ci/.github/workflows/[email protected]
with:
force_rebuild: ${{ inputs.force_rebuild || (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/' )) || false }}
image_name: ${{ matrix.image_name }}
docker_directory: docker/images/
docker_registry: ghcr.io
github_ref_before: ${{ github.event.before }}
github_ref_after: ${{ github.event.after }}
secrets:
SA_GITHUB_PAT: ${{ secrets.SA_GITHUB_PAT }}
SA_GITHUB_USERNAME: ${{ secrets.SA_GITHUB_USERNAME }}