chore(deps-dev): bump jest from 29.6.1 to 29.6.2 (#1747) #660
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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} |