Skip to content

do not merge

do not merge #1

# (C) Copyright Confidential Containers Contributors 2023.
# SPDX-License-Identifier: Apache-2.0
#
# Build and push project images on pull requests merged.
---
name: Publish project images
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
caa:
uses: ./.github/workflows/caa_build_and_push_per_arch.yaml
secrets: inherit
peerpod-ctrl:
uses: ./.github/workflows/peerpod-ctrl_image.yaml
if: >
github.event_name == 'push' && (
contains(github.event.push.commits.added, 'peerpod-ctrl/') ||
contains(github.event.push.commits.modified, 'peerpod-ctrl/') ||
contains(github.event.push.commits.removed, 'peerpod-ctrl/'))
with:
image_tags: latest,${{ github.sha }}
git_ref: ${{ github.sha }}
secrets: inherit