Skip to content

Update actions/setup-node action to v4.1.0 #1216

Update actions/setup-node action to v4.1.0

Update actions/setup-node action to v4.1.0 #1216

Workflow file for this run

name: build
on:
pull_request:
paths:
- .github/workflows/build.yaml
- .github/workflows/reusable--*.yaml
- Dockerfile
- Dockerfile.*
- entrypoint.sh
- entrypoint.d/**
- e2e-test/**
push:
paths:
- .github/workflows/build.yaml
- .github/workflows/reusable--*.yaml
- Dockerfile
- Dockerfile.*
- entrypoint.sh
- entrypoint.d/**
- e2e-test/**
branches:
- main
tags:
- '*'
workflow_call:
inputs:
context:
type: string
required: false
description: context passed to docker/build-push-action (optional)
tags:
type: string
required: false
description: tags passed to docker/metadata-action (optional)
jobs:
build:
uses: ./.github/workflows/reusable--build.yaml
permissions:
contents: read
packages: write
with:
context: ${{ inputs.context }}
tags: ${{ inputs.tags }}
build-ubuntu20:
uses: ./.github/workflows/reusable--build.yaml
permissions:
contents: read
packages: write
with:
context: ${{ inputs.context }}
tags: ${{ inputs.tags }}
file: Dockerfile.ubuntu20
flavor: suffix=-ubuntu20
e2e-test:
needs:
- build
- build-ubuntu20
uses: ./.github/workflows/reusable--e2e-test.yaml
secrets: inherit
with:
runner-image-uri: ${{ needs.build.outputs.image-uri }}
runner-ubuntu20-image-uri: ${{ needs.build-ubuntu20.outputs.image-uri }}