Skip to content

chore: Update from ubi8/ubi:8.10-1020 to ubi8/ubi:8.10-1054 (#1963) #864

chore: Update from ubi8/ubi:8.10-1020 to ubi8/ubi:8.10-1054 (#1963)

chore: Update from ubi8/ubi:8.10-1020 to ubi8/ubi:8.10-1054 (#1963) #864

Workflow file for this run

#
# Copyright (c) 2020-2022 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: Next Build/Publish
on:
push:
branches:
- main
jobs:
next-build-publish:
runs-on: ubuntu-22.04
steps:
- name: Clone source code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
name: Cache yarn dependencies
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: image-build
run: |
docker pull quay.io/eclipse/che-plugin-registry:next
BUILDER=docker SKIP_FORMAT=true SKIP_LINT=true SKIP_TEST=true ./build.sh --tag next
- name: push plugin registry image
run: |
SHORT_SHA1=$(git rev-parse --short HEAD)
docker tag quay.io/eclipse/che-plugin-registry:next quay.io/eclipse/che-plugin-registry:${SHORT_SHA1}
docker push quay.io/eclipse/che-plugin-registry:next
docker push quay.io/eclipse/che-plugin-registry:${SHORT_SHA1}