Skip to content

Commit 6a910f9

Browse files
authored
Disable @flowforge build and publish (#537)
1 parent cf4fb1f commit 6a910f9

1 file changed

Lines changed: 52 additions & 52 deletions

File tree

.github/workflows/release-publish.yml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -56,55 +56,55 @@ jobs:
5656
username: flowfuse
5757
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
5858
readme-filepath: ./docker/README.md
59-
publish_legacy:
60-
needs: [publish]
61-
runs-on: ubuntu-latest
62-
steps:
63-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
64-
- uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
65-
with:
66-
node-version: 16
67-
- name: "Install jq"
68-
run: sudo apt-get install -y jq
69-
- name: "Patch module name"
70-
run: |
71-
cat package.json | jq '.name = "@flowforge/flowforge-device-agent"' > package.json-patched
72-
mv package.json-patched package.json
73-
- run: npm install
74-
- uses: JS-DevTools/npm-publish@7f8fe47b3bea1be0c3aec2b717c5ec1f3e03410b # v4.1.1
75-
with:
76-
token: ${{ secrets.NPM_PUBLISH_TOKEN_FLOWFORGE }}
77-
- name: Docker Meta Data
78-
id: meta
79-
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
80-
with:
81-
tags: |
82-
type=semver,event=tag,pattern={{version}}
83-
flavor: |
84-
latest=true
85-
images: |
86-
flowforge/device-agent
87-
- name: Setup QEMU
88-
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
89-
- name: Setup Docker buildx
90-
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
91-
- name: docker login
92-
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
93-
with:
94-
username: flowforge
95-
password: ${{ secrets.DOCKER_HUB_PASSWORD_FLOWFORGE }}
96-
- name: Build and push FlowFuse Device Agent container
97-
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
98-
with:
99-
context: docker
100-
file: docker/Dockerfile_flowforge
101-
tags: ${{ steps.meta.outputs.tags }}
102-
push: true
103-
platforms: linux/amd64, linux/arm64, linux/arm/v7
104-
- name: Publish README.md to Docker hub
105-
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
106-
with:
107-
repository: flowforge/device-agent
108-
username: flowforge
109-
password: ${{ secrets.DOCKER_HUB_PASSWORD_FLOWFORGE }}
110-
readme-filepath: ./docker/README.md
59+
# publish_legacy:
60+
# needs: [publish]
61+
# runs-on: ubuntu-latest
62+
# steps:
63+
# - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
64+
# - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
65+
# with:
66+
# node-version: 16
67+
# - name: "Install jq"
68+
# run: sudo apt-get install -y jq
69+
# - name: "Patch module name"
70+
# run: |
71+
# cat package.json | jq '.name = "@flowforge/flowforge-device-agent"' > package.json-patched
72+
# mv package.json-patched package.json
73+
# - run: npm install
74+
# - uses: JS-DevTools/npm-publish@7f8fe47b3bea1be0c3aec2b717c5ec1f3e03410b # v4.1.1
75+
# with:
76+
# token: ${{ secrets.NPM_PUBLISH_TOKEN_FLOWFORGE }}
77+
# - name: Docker Meta Data
78+
# id: meta
79+
# uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
80+
# with:
81+
# tags: |
82+
# type=semver,event=tag,pattern={{version}}
83+
# flavor: |
84+
# latest=true
85+
# images: |
86+
# flowforge/device-agent
87+
# - name: Setup QEMU
88+
# uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
89+
# - name: Setup Docker buildx
90+
# uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
91+
# - name: docker login
92+
# uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
93+
# with:
94+
# username: flowforge
95+
# password: ${{ secrets.DOCKER_HUB_PASSWORD_FLOWFORGE }}
96+
# - name: Build and push FlowFuse Device Agent container
97+
# uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
98+
# with:
99+
# context: docker
100+
# file: docker/Dockerfile_flowforge
101+
# tags: ${{ steps.meta.outputs.tags }}
102+
# push: true
103+
# platforms: linux/amd64, linux/arm64, linux/arm/v7
104+
# - name: Publish README.md to Docker hub
105+
# uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
106+
# with:
107+
# repository: flowforge/device-agent
108+
# username: flowforge
109+
# password: ${{ secrets.DOCKER_HUB_PASSWORD_FLOWFORGE }}
110+
# readme-filepath: ./docker/README.md

0 commit comments

Comments
 (0)