From 7c15fb682942e91a4e1c2eeeaca3860ef947d67c Mon Sep 17 00:00:00 2001 From: PPawlowski Date: Wed, 2 Oct 2024 13:07:10 +0000 Subject: [PATCH] Remove unused `npm_registry_auth_token` secret --- .github/workflows/fileserver-container.yml | 3 +-- .github/workflows/flowforge-container.yml | 5 ++--- .github/workflows/nodered-container.yml | 20 ++++++++++++-------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/fileserver-container.yml b/.github/workflows/fileserver-container.yml index a911ab53..9a1cdc58 100644 --- a/.github/workflows/fileserver-container.yml +++ b/.github/workflows/fileserver-container.yml @@ -33,13 +33,12 @@ jobs: with: image_name: 'file-server' package_dependencies: | - @flowfuse/file-server + @flowfuse/file-server=nightly build_context: 'file-server' build_platform: "linux/amd64" npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-stage-image: diff --git a/.github/workflows/flowforge-container.yml b/.github/workflows/flowforge-container.yml index a0e791c6..ff1098ae 100644 --- a/.github/workflows/flowforge-container.yml +++ b/.github/workflows/flowforge-container.yml @@ -34,14 +34,13 @@ jobs: with: image_name: 'forge-k8s' package_dependencies: | - @flowfuse/flowfuse - @flowfuse/driver-kubernetes + @flowfuse/flowfuse=nightly + @flowfuse/driver-kubernetes=nightly build_context: 'flowforge-container' build_platform: "linux/amd64" npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-stage-image: diff --git a/.github/workflows/nodered-container.yml b/.github/workflows/nodered-container.yml index 353e0193..cf2d9181 100644 --- a/.github/workflows/nodered-container.yml +++ b/.github/workflows/nodered-container.yml @@ -35,13 +35,14 @@ jobs: dockerfile_path: Dockerfile image_tag_prefix: '3.0.2-' package_dependencies: | - @flowforge/nr-project-nodes + @flowforge/nr-project-nodes=nightly build_context: 'node-red-container' build_platform: "linux/arm64" + build-args: | + BUILD_TAG=nightly npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-302-stage: @@ -89,13 +90,14 @@ jobs: dockerfile_path: Dockerfile-2.2.x image_tag_prefix: '2.2.3-' package_dependencies: | - @flowforge/nr-project-nodes + @flowforge/nr-project-nodes=nightly build_context: 'node-red-container' build_platform: "linux/arm64" + build-args: | + BUILD_TAG=nightly npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-223-stage: name: Upload image to staging ECR @@ -142,13 +144,14 @@ jobs: dockerfile_path: Dockerfile-3.1 image_tag_prefix: '3.1.x-' package_dependencies: | - @flowforge/nr-project-nodes + @flowforge/nr-project-nodes=nightly build_context: 'node-red-container' build_platform: "linux/arm64" + build-args: | + BUILD_TAG=nightly npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-310-stage: name: Upload image to staging ECR @@ -195,13 +198,14 @@ jobs: dockerfile_path: Dockerfile-4.0 image_tag_prefix: '4.0.x-' package_dependencies: | - @flowforge/nr-project-nodes + @flowforge/nr-project-nodes=nightly build_context: 'node-red-container' build_platform: "linux/arm64" + build-args: | + BUILD_TAG=nightly npm_registry_url: ${{ vars.PUBLIC_NPM_REGISTRY_URL }} scan_image: false secrets: - npm_registry_auth_token: ${{ secrets.NPM_PUBLISH_TOKEN }} temporary_registry_token: ${{ secrets.GITHUB_TOKEN }} upload-40-stage: name: Upload image to staging ECR