Skip to content

Commit

Permalink
Push image for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
antoninbas committed Apr 18, 2024
1 parent 0733d0c commit b46ba51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- main
- release-*
- feature/*
- use-reserved-controller-ports-for-default-antrea-ports-test

jobs:
check-changes:
Expand Down Expand Up @@ -127,13 +128,13 @@ jobs:
- name: Build Antrea Windows Docker image
run: make build-windows
- name: Push Antrea Windows Docker image to registry
if: ${{ github.repository == 'antrea-io/antrea' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push antrea/antrea-windows:latest
docker tag antrea/antrea-windows:latest antoninbas/antrea-windows:test6202
docker push antoninbas/antrea-windows:test6202
shell: bash

build-antrea-mc-controller:
Expand Down

0 comments on commit b46ba51

Please sign in to comment.