Skip to content

[Snyk] Security upgrade node from 14.18.0 to 14.21.3 #43

[Snyk] Security upgrade node from 14.18.0 to 14.21.3

[Snyk] Security upgrade node from 14.18.0 to 14.21.3 #43

Workflow file for this run

name: Build embeddable
on:
pull_request:
branches:
- master
paths:
# '*' matches any character except '/'
- 'image/*'
- '.github/workflows/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Build Image
run: |
cd image
IMAGE_NAME=ringcentral/rc-embeddable-dev
GH_DOCKER_PKG_IMAGE_NAME=docker.pkg.github.com/ringcentral-docker/vnc-chrome-node/vnc-chrome-node
VERSION="$(awk -F '[:-]' '/FROM/ {print $2}' Dockerfile)"
docker build --tag ${IMAGE_NAME} --file Dockerfile .
docker tag "${IMAGE_NAME}" "${IMAGE_NAME}:${VERSION}"
docker tag "${IMAGE_NAME}" "${IMAGE_NAME}:latest"
docker tag "${IMAGE_NAME}" "${GH_DOCKER_PKG_IMAGE_NAME}:${VERSION}"
docker tag "${IMAGE_NAME}" "${GH_DOCKER_PKG_IMAGE_NAME}:latest"