Skip to content

Commit

Permalink
Merge pull request #201 from FlowFuse/feat-reusable-workflows-versioning
Browse files Browse the repository at this point in the history
Pin reusable workflows to tag instead of SHA
  • Loading branch information
hardillb authored Oct 25, 2023
2 parents 64155b9 + 38778ce commit b6064c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/fileserver-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
jobs:
build:
name: Build single-architecture container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.1.0
with:
image_name: 'file-server'
package_dependencies: |
Expand All @@ -37,7 +37,7 @@ jobs:
build-multi-architecture:
name: Build multi-architecture container image
needs: build
uses: flowfuse/github-actions-workflows/.github/workflows/merge_multiarch_images.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/merge_multiarch_images.yml@v0.1.0
with:
image_name: 'file-server'
secrets:
Expand All @@ -46,7 +46,7 @@ jobs:
deploy-stage:
name: Deploy to staging environment
needs: build-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@v0.1.0
with:
environment: stage
service_name: 'file-server'
Expand All @@ -63,7 +63,7 @@ jobs:
if: github.ref_name == 'main'
name: Deploy to production environment
needs: [build-multi-architecture, deploy-stage]
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@v0.1.0
with:
environment: production
service_name: 'file-server'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/flowforge-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:
jobs:
build:
name: Build single-architecture container images
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/build_container_image.yml@v0.1.0
with:
image_name: 'forge-k8s'
package_dependencies: |
Expand All @@ -38,7 +38,7 @@ jobs:
build-multi-architecture:
name: Build multi-architecture container image
needs: build
uses: flowfuse/github-actions-workflows/.github/workflows/merge_multiarch_images.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/merge_multiarch_images.yml@v0.1.0
with:
image_name: 'forge-k8s'
secrets:
Expand All @@ -47,7 +47,7 @@ jobs:
deploy-stage:
name: Deploy to staging environment
needs: build-multi-architecture
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@v0.1.0
with:
environment: stage
service_name: 'forge-k8s'
Expand All @@ -64,7 +64,7 @@ jobs:
if: github.ref_name == 'main'
name: Deploy to production environment
needs: [build-multi-architecture, deploy-stage]
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@7808b849474ae9bc8dfc7f6db19e66d241018c94
uses: flowfuse/github-actions-workflows/.github/workflows/deploy_container_image.yml@v0.1.0
with:
environment: production
service_name: 'forge-k8s'
Expand Down

0 comments on commit b6064c0

Please sign in to comment.