Skip to content

Commit

Permalink
chore: Disable repo check for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Rajawat <[email protected]>
  • Loading branch information
anurag-rajawat committed Oct 4, 2024
1 parent ee2cf85 commit f9077e7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/latest-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches:
- main
- feat-filter
- feat-filter # Todo: REMOVE ME

permissions: read-all

Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
release-sentryflow-image:
needs: [ files-changed ]
if: ${{ github.repository == '5GSEC/sentryflow' && needs.files-changed.outputs.sentryflow == 'true' }}
if: ${{ needs.files-changed.outputs.sentryflow == 'true' }}
name: Build and push sentryflow's image
uses: ./.github/workflows/release-image.yaml
with:
Expand All @@ -45,7 +45,7 @@ jobs:

release-envoy-filter-image:
needs: [ files-changed ]
if: ${{ github.repository == '5GSEC/sentryflow' && needs.files-changed.outputs.envoyfilter == 'true' }}
if: ${{ needs.files-changed.outputs.envoyfilter == 'true' }}
name: Build and push envoyfilter's image
uses: ./.github/workflows/release-image.yaml
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/stable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ concurrency:

jobs:
files-changed:
name: Detect what files changed
name: Find out which files were changed
runs-on: ubuntu-latest
timeout-minutes: 5
outputs:
sentryflow: ${{ steps.filter.outputs.sentryflow}}
envoyfilter: ${{ steps.filter.outputs.envoyfilter}}
steps:
- uses: actions/checkout@v4
- uses: dorny/[email protected]
Expand All @@ -33,7 +34,7 @@ jobs:
- 'filter/envoy/envoy-wasm-filters/**'
release-sentryflow-image:
if: ${{ github.repository == '5GSEC/sentryflow' && needs.files-changed.outputs.sentryflow == 'true' }}
if: ${{ needs.files-changed.outputs.sentryflow == 'true' }}
name: Build and push nimbus image
uses: ./.github/workflows/release-image.yaml
with:
Expand All @@ -43,7 +44,7 @@ jobs:

release-envoy-filter-image:
needs: [ files-changed ]
if: ${{ github.repository == '5GSEC/sentryflow' && needs.files-changed.outputs.envoyfilter == 'true' }}
if: ${{ needs.files-changed.outputs.envoyfilter == 'true' }}
name: Build and push envoyfilter's image
uses: ./.github/workflows/release-image.yaml
with:
Expand Down
2 changes: 1 addition & 1 deletion filter/envoy/envoy-wasm-filters/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ push: ## Push Plugin's container image

.PHONY: imagex
imagex: ## Build and push Plugin's multi-platform container image.
$(CONTAINER_TOOL) build --push --platform=linux/arm64,linux/amd64 -t ${DOCKER_IMAGE}:${DOCKER_TAG} .
$(CONTAINER_TOOL) buildx build --push --platform=linux/arm64,linux/amd64 -t ${DOCKER_IMAGE}:${DOCKER_TAG} .

0 comments on commit f9077e7

Please sign in to comment.