Skip to content

Commit

Permalink
Fix actions - hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
nstogner committed Aug 22, 2023
1 parent a3dd50c commit d2c13d9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
tags:
- "v*.*.*"
merge_group:
pull_request:
jobs:
controller:
runs-on: ubuntu-latest
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
if: github.event_name != 'merge_group'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
Expand All @@ -34,7 +34,7 @@ jobs:
with:
context: .
platforms: "linux/amd64,linux/arm64"
push: ${{ github.event_name != 'merge_group' }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-controller-manager.outputs.tags }}
labels: ${{ steps.meta-controller-manager.outputs.labels }}
sci-gcp:
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
if: github.event_name != 'merge_group'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
Expand All @@ -64,7 +64,7 @@ jobs:
context: .
file: Dockerfile.sci-gcp
platforms: "linux/amd64,linux/arm64"
push: ${{ github.event_name != 'merge_group' }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
sci-kind:
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
if: github.event_name != 'merge_group'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: "${{ secrets.DOCKERHUB_USERNAME }}"
Expand All @@ -94,6 +94,6 @@ jobs:
context: .
file: Dockerfile.sci-kind
platforms: "linux/amd64,linux/arm64"
push: ${{ github.event_name != 'merge_group' }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 0 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Integration tests
run-name: ${{ github.actor }} triggered integration tests 🚀
on:
pull_request:
merge_group:
jobs:
integration-tests:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
# Should run before a release.
- main
workflow_run:
workflows: [Run Tests]
workflows: [Docker pipeline]
types:
- completed
jobs:
Expand Down

0 comments on commit d2c13d9

Please sign in to comment.