Skip to content

Set VERSION to v0.5.0 #6

Set VERSION to v0.5.0

Set VERSION to v0.5.0 #6

Workflow file for this run

name: Build and push container images
on:
pull_request:
branches:
- main
- release-*
push:
branches:
- main
- release-*
jobs:
build:
name: Build Docker images
runs-on: ubuntu-latest
steps:
- name: Check-out code
uses: actions/checkout@v4
- name: Build container images
run: make
- name: Push container images if needed
if: ${{ github.repository == 'antrea-io/antrea-ui' && 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-ui-frontend
docker push antrea/antrea-ui-backend