Skip to content

chore(deps): bump tslib from 2.6.0 to 2.6.1 (#1742) #657

chore(deps): bump tslib from 2.6.0 to 2.6.1 (#1742)

chore(deps): bump tslib from 2.6.0 to 2.6.1 (#1742) #657

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@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Login to quay.io
uses: docker/login-action@v2
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@v3
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}