Skip to content

Changes for release v0.8.0 #1015

Changes for release v0.8.0

Changes for release v0.8.0 #1015

Workflow file for this run

name: Build and push the latest image if needed
on:
pull_request:
branches:
- main
- release-*
push:
branches:
- main
- release-*
jobs:
build-ipfix-collector:
if: ${{ github.event_name == 'push' }}
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build ipfix-collector Docker image
run: make docker-collector
- name: Push ipfix-collector Docker image to Antrea Docker registry
if: ${{ github.repository == 'vmware/go-ipfix' && 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/ipfix-collector:latest
build-kafka-consumer:
if: ${{ github.event_name == 'push' }}
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build kafka-consumer Docker image
run: make docker-consumer
- name: Push kafka-consumer Docker image to Antrea Docker registry
if: ${{ github.repository == 'vmware/go-ipfix' && 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/kafka-consumer:latest