Skip to content

Commit

Permalink
Merge pull request #974 from achrefbensaad/fix-ci-fails
Browse files Browse the repository at this point in the history
fix(CI): fix ci fails
  • Loading branch information
achrefbensaad committed Nov 9, 2022
2 parents ef0d8aa + d6a599b commit d028360
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-controllers-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ci-latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ on:
branches:
- "v*"

env:
PLATFORM: linux/amd64,linux/arm64/v8

jobs:
build:
name: Create KubeArmor latest release
Expand Down Expand Up @@ -78,7 +75,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Push KubeArmor images to Docker
run: ./KubeArmor/build/push_kubearmor.sh ${{ steps.vars.outputs.tag }}
Expand Down Expand Up @@ -119,7 +116,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Push the stable version of KubeArmor to Docker Hub
if: steps.match.outputs.tag == 'true'
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/ci-stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ on:
branches: [main]
paths:
- "STABLE-RELEASE"
- ".github/workflows/ci-stable-release.yml"

env:
PLATFORM: linux/amd64,linux/arm64/v8
# - ".github/workflows/ci-stable-release.yml"

jobs:
push-stable-version:
Expand All @@ -35,7 +32,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
platforms: $PLATFORM
platforms: linux/amd64,linux/arm64/v8

- name: Push the stable version of KubeArmor to Docker Hub
run: ./KubeArmor/build/push_kubearmor.sh stable

0 comments on commit d028360

Please sign in to comment.