-
Notifications
You must be signed in to change notification settings - Fork 14
50 lines (48 loc) · 1.55 KB
/
nodered-container.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build Node-RED container
on:
workflow_dispatch:
inputs:
nr_project_nodes_release_name:
description: 'nr-project-nodes package version'
required: false
default: 'nightly'
nr_project_nodes_ref:
description: 'nr-project-nodes package ref'
required: false
schedule:
- cron: '30 5 * * *'
push:
branches:
- 'feat-*'
- main
pull_request:
branches:
- main
jobs:
build-stage:
uses: flowforge/github-actions-workflows/.github/workflows/build_container_image.yml@feat-container-build
with:
environment: 'stage'
image_name: 'node-red'
package_dependencies: |
@flowforge/nr-project-nodes
build_context: 'node-red-container'
npm_registry_url: ${{ vars.PRIVATE_NPM_REGISTRY_URL }}
secrets:
npm_registry_auth_token: ${{ secrets.GITHUB_TOKEN }}
aws_access_key_id: ${{ secrets.STAGING_AWS_ID }}
aws_access_key_secret: ${{ secrets.STAGING_AWS_KEY }}
build-stage-223:
uses: flowforge/github-actions-workflows/.github/workflows/build_container_image.yml@feat-container-build
with:
environment: 'stage'
image_name: 'node-red'
image_tag_prefix: '2.2.3-'
package_dependencies: |
@flowforge/nr-project-nodes
build_context: 'node-red-container'
npm_registry_url: ${{ vars.PRIVATE_NPM_REGISTRY_URL }}
secrets:
npm_registry_auth_token: ${{ secrets.GITHUB_TOKEN }}
aws_access_key_id: ${{ secrets.STAGING_AWS_ID }}
aws_access_key_secret: ${{ secrets.STAGING_AWS_KEY }}