Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninbas committed Mar 2, 2021
1 parent ecce05e commit ad023ea
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Build and push latest image if needed
on:
pull_request:
branches:
- main
- trigger-docker-multi-arch-build-on-pushes-and-releases
- release-*
push:
branches:
- main
- trigger-docker-multi-arch-build-on-pushes-and-releases
- release-*

jobs:
Expand All @@ -34,7 +34,6 @@ jobs:
- name: Build Antrea Docker image
run: make
- name: Push Antrea amd64 Docker image to registry
if: ${{ github.repository == 'vmware-tanzu/antrea' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand All @@ -43,7 +42,6 @@ jobs:
docker tag antrea/antrea-ubuntu:latest antrea/antrea-ubuntu-amd64:latest
docker push antrea/antrea-ubuntu-amd64:latest
- name: Trigger Antrea arm builds and multi-arch manifest update
if: ${{ github.repository == 'vmware-tanzu/antrea' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: benc-uk/workflow-dispatch@v1
with:
repo: vmware-tanzu/antrea-build-infra
Expand Down

0 comments on commit ad023ea

Please sign in to comment.