Skip to content

Commit

Permalink
Merge pull request #245 from FlowFuse/feat-enable-images-scan
Browse files Browse the repository at this point in the history
Enable image scanning for all containers
  • Loading branch information
ppawlowski authored Dec 12, 2023
2 parents 9dd3bd4 + fa2578c commit 4b32e0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/fileserver-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ concurrency:
jobs:
build:
name: Build single-architecture container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.1.0
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@0.2.1
with:
image_name: 'file-server'
package_dependencies: |
@flowfuse/file-server
build_context: 'file-server'
npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }}
scan_image: true
secrets:
npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/flowforge-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ concurrency:
jobs:
build:
name: Build single-architecture container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.1.0
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@0.2.1
with:
image_name: 'forge-k8s'
package_dependencies: |
@flowforge/flowforge
@flowfuse/driver-kubernetes
build_context: 'flowforge-container'
npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }}
scan_image: true
secrets:
npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/nodered-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
jobs:
build-302:
name: Build 3.0.2 container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.2.0
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@0.2.1
with:
image_name: 'node-red'
dockerfile_path: Dockerfile
Expand All @@ -32,6 +32,7 @@ jobs:
@flowforge/nr-project-nodes
build_context: 'node-red-container'
npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }}
scan_image: true
secrets:
npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -82,7 +83,7 @@ jobs:

build-223:
name: Build 2.2.3 container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.2.0
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@0.2.1
with:
image_name: 'node-red'
dockerfile_path: Dockerfile-2.2.x
Expand All @@ -91,6 +92,7 @@ jobs:
@flowforge/nr-project-nodes
build_context: 'node-red-container'
npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }}
scan_image: true
secrets:
npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -141,7 +143,7 @@ jobs:

build-310:
name: Build 3.1.x container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.2.0
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@0.2.1
with:
image_name: 'node-red'
dockerfile_path: Dockerfile-3.1
Expand All @@ -150,6 +152,7 @@ jobs:
@flowforge/nr-project-nodes
build_context: 'node-red-container'
npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }}
scan_image: true
secrets:
npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }}
temporary_registry_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4b32e0c

Please sign in to comment.