diff --git a/.github/workflows/all-nodejs-packages-publish.yaml b/.github/workflows/all-nodejs-packages-publish.yaml index 44cdab814bd..0237fe03dcf 100644 --- a/.github/workflows/all-nodejs-packages-publish.yaml +++ b/.github/workflows/all-nodejs-packages-publish.yaml @@ -5,8 +5,6 @@ env: on: push: - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/besu-all-in-one-publish.yaml b/.github/workflows/besu-all-in-one-publish.yaml index bddcf5189d3..4630682b28d 100644 --- a/.github/workflows/besu-all-in-one-publish.yaml +++ b/.github/workflows/besu-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: besu-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/cmd-api-server-publish.yaml b/.github/workflows/cmd-api-server-publish.yaml index efc3dbde092..8c050b26356 100644 --- a/.github/workflows/cmd-api-server-publish.yaml +++ b/.github/workflows/cmd-api-server-publish.yaml @@ -1,12 +1,8 @@ name: cmd-api-server-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/connector-besu-publish.yaml b/.github/workflows/connector-besu-publish.yaml index 6d3b14a6500..8e293da7416 100644 --- a/.github/workflows/connector-besu-publish.yaml +++ b/.github/workflows/connector-besu-publish.yaml @@ -1,12 +1,8 @@ name: connector-fabric-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/connector-corda-server-publish.yaml b/.github/workflows/connector-corda-server-publish.yaml index 4b86a8c5732..431b8409948 100644 --- a/.github/workflows/connector-corda-server-publish.yaml +++ b/.github/workflows/connector-corda-server-publish.yaml @@ -1,12 +1,8 @@ name: connector-corda-server-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/connector-fabric-publish.yaml b/.github/workflows/connector-fabric-publish.yaml index c634aa5bc88..79daf8dd194 100644 --- a/.github/workflows/connector-fabric-publish.yaml +++ b/.github/workflows/connector-fabric-publish.yaml @@ -1,12 +1,8 @@ name: connector-besu-publish on: - push: - # Publish `main` as Docker `latest` image. - branches: - - main - # Publish `v1.2.3` tags as releases. + push: tags: - v* diff --git a/.github/workflows/corda-4-6-all-in-one-obligation-publish.yaml b/.github/workflows/corda-4-6-all-in-one-obligation-publish.yaml index 8c27d1e1bd5..306f2ce4306 100644 --- a/.github/workflows/corda-4-6-all-in-one-obligation-publish.yaml +++ b/.github/workflows/corda-4-6-all-in-one-obligation-publish.yaml @@ -1,12 +1,8 @@ name: corda-4-6-all-in-one-obligation-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/corda-4-7-all-in-one-obligation-publish.yaml b/.github/workflows/corda-4-7-all-in-one-obligation-publish.yaml index 04e6f966b62..8c4f32af9ac 100644 --- a/.github/workflows/corda-4-7-all-in-one-obligation-publish.yaml +++ b/.github/workflows/corda-4-7-all-in-one-obligation-publish.yaml @@ -1,12 +1,8 @@ name: corda-4-7-all-in-one-obligation-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/corda-4-8-all-in-one-obligation-publish.yaml b/.github/workflows/corda-4-8-all-in-one-obligation-publish.yaml index 9475536e485..959ed3e95cc 100644 --- a/.github/workflows/corda-4-8-all-in-one-obligation-publish.yaml +++ b/.github/workflows/corda-4-8-all-in-one-obligation-publish.yaml @@ -1,12 +1,8 @@ name: corda-4-8-all-in-one-obligation-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/dev-container-vscode-publish.yaml b/.github/workflows/dev-container-vscode-publish.yaml index 15a78370c3a..e68062728dc 100644 --- a/.github/workflows/dev-container-vscode-publish.yaml +++ b/.github/workflows/dev-container-vscode-publish.yaml @@ -1,12 +1,8 @@ name: dev-container-vscode-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/example-carbon-accounting-publish.yaml b/.github/workflows/example-carbon-accounting-publish.yaml index eb2f9490a14..33d909c96b9 100644 --- a/.github/workflows/example-carbon-accounting-publish.yaml +++ b/.github/workflows/example-carbon-accounting-publish.yaml @@ -1,12 +1,8 @@ name: example-carbon-accounting-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/example-supply-chain-app-publish.yaml b/.github/workflows/example-supply-chain-app-publish.yaml index e0980cc8257..17da4cbbbc3 100644 --- a/.github/workflows/example-supply-chain-app-publish.yaml +++ b/.github/workflows/example-supply-chain-app-publish.yaml @@ -1,12 +1,8 @@ name: example-supply-chain-app-publish -on: +on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/fabric2-all-in-one-publish.yaml b/.github/workflows/fabric2-all-in-one-publish.yaml index 4b0da1903c3..03b50c84d3b 100644 --- a/.github/workflows/fabric2-all-in-one-publish.yaml +++ b/.github/workflows/fabric2-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: fabric2-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/geth-all-in-one-publish.yaml b/.github/workflows/geth-all-in-one-publish.yaml index 15bda39907d..b9eb108648f 100644 --- a/.github/workflows/geth-all-in-one-publish.yaml +++ b/.github/workflows/geth-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: geth-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/ghpkg-all-kotlin-api-clients-publish.yaml b/.github/workflows/ghpkg-all-kotlin-api-clients-publish.yaml index 3cf6dd75192..f76f605ccdf 100644 --- a/.github/workflows/ghpkg-all-kotlin-api-clients-publish.yaml +++ b/.github/workflows/ghpkg-all-kotlin-api-clients-publish.yaml @@ -4,11 +4,10 @@ env: NODEJS_VERSION: v18.18.2 on: + # Publish `v1.2.3` tags as releases. push: - branches: [main, dev] - - pull_request: - branches: [main, dev] + tags: + - v* concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} diff --git a/.github/workflows/iroha2-all-in-one-publish.yaml b/.github/workflows/iroha2-all-in-one-publish.yaml index 48d94402b43..e2ae6c9cb94 100644 --- a/.github/workflows/iroha2-all-in-one-publish.yaml +++ b/.github/workflows/iroha2-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: iroha2-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/keychain-vault-server-publish.yaml b/.github/workflows/keychain-vault-server-publish.yaml index 80c5bbf5cf0..81d0622b400 100644 --- a/.github/workflows/keychain-vault-server-publish.yaml +++ b/.github/workflows/keychain-vault-server-publish.yaml @@ -1,12 +1,8 @@ name: keychain-vault-server-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/quorum-all-in-one-publish.yaml b/.github/workflows/quorum-all-in-one-publish.yaml index 0bbd413551e..b4c24959192 100644 --- a/.github/workflows/quorum-all-in-one-publish.yaml +++ b/.github/workflows/quorum-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: quorum-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/quorum-multi-party-all-in-one-publish.yaml b/.github/workflows/quorum-multi-party-all-in-one-publish.yaml index 3ea17ee9384..f686fb0be8b 100644 --- a/.github/workflows/quorum-multi-party-all-in-one-publish.yaml +++ b/.github/workflows/quorum-multi-party-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: quorum-multi-party-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v* diff --git a/.github/workflows/sawtooth-all-in-one-publish.yaml b/.github/workflows/sawtooth-all-in-one-publish.yaml index 2fd11499199..ebde8de1b1d 100644 --- a/.github/workflows/sawtooth-all-in-one-publish.yaml +++ b/.github/workflows/sawtooth-all-in-one-publish.yaml @@ -1,12 +1,8 @@ name: sawtooth-all-in-one-publish on: + # Publish `v1.2.3` tags as releases. push: - # Publish `main` as Docker `latest` image. - branches: - - main - - # Publish `v1.2.3` tags as releases. tags: - v*