Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

chore: release: bump to 7.75.0-next in main #837

chore: release: bump to 7.75.0-next in main

chore: release: bump to 7.75.0-next in main #837

Workflow file for this run

#
# Copyright (c) 2020-2023 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
name: PR Checks
on:
pull_request:
branches:
- main
jobs:
shellcheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Shellcheck
run: |
find . -type f -name '*.sh' | wc -l
find . -type f -name '*.sh' | xargs shellcheck --external-sources
build-main-image:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare
id: prep
run: echo "platforms=$(cat PLATFORMS)" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Cache docker layers
uses: actions/cache@v3
with:
path: ./caches
key: v1-${{ github.head_ref }}
- name: Load docker layer cache
run: |
set +o pipefail
docker load -i ./caches/app.tar | true
- name: Build devfile registry
uses: docker/build-push-action@v4
with:
context: .
file: ./build/dockerfiles/Dockerfile
target: registry
platforms: ${{ steps.prep.outputs.platforms }}
tags: app
cache-from: "type=local,src=/tmp/.buildx-cache"
cache-to: "type=local,dest=/tmp/.buildx-cache"
push: false
provenance: false
- name: Build offline devfile registry
uses: docker/build-push-action@v4
with:
context: .
file: ./build/dockerfiles/Dockerfile
target: offline-registry
platforms: ${{ steps.prep.outputs.platforms }}
tags: app
cache-from: "type=local,src=/tmp/.buildx-cache"
push: false