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

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /test/_projects/api-controller #1887

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /test/_projects/api-controller

Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /test/_projects/api-controller #1887

name: "PR checks - Push operator images"
on:
pull_request_target:
branches:
- master
- 'release-v**.x'
env:
REGISTRY_PREFIX: quay.io/redhat-developer
REPO: servicebinding-operator
jobs:
push-operator-images:
name: "Push operator images (PR)"
runs-on: ubuntu-20.04
steps:
- name: Checkout Git Repository
uses: actions/checkout@v4
- name: Wait for build
uses: lewagon/wait-on-check-action@e106e5c43e8ca1edea6383a39a01c5ca495fd812
with:
ref: ${{ github.event.pull_request.head.sha }}
check-name: "Build operator images (PR)"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 60
- name: Download images
uses: pmacik/action-download-multiple-artifacts@node16
with:
names: operator-images-${{github.event.pull_request.number}}-${{github.event.pull_request.head.sha}}
- name: Setup local registry
run: |
tar -xvf registry.tar.gz
.github/actions/setup-podman/setup-local-registry.sh
- name: Push operator, bundle and index images
run: |
set -x
for tag in $(skopeo list-tags --tls-verify=false docker://localhost:5000/${REPO} | jq -r '.Tags[] | select(startswith("pr-${{github.event.pull_request.number}}-"))'); do
sha=$(skopeo inspect --tls-verify=false docker://localhost:5000/${REPO}:${tag} | jq -r '.Digest')
skopeo copy --dest-creds ${{secrets.QUAY_USERNAME}}:${{secrets.QUAY_TOKEN}} --all --src-tls-verify=false docker://localhost:5000/${REPO}@${sha} docker://${REGISTRY_PREFIX}/${REPO}:${tag}
done