name: Build and Push Docker Image on: push: branches: [ main ] jobs: build: runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest steps: - name: Checkout code uses: actions/checkout@v4 - name: Login to gitea run: NODE_NO_WARNINGS=1 docker login -u make -p ${{ secrets.TOKEN }} http://gitea-http.gitea.svc.cluster.local:3000 - name: Set up Buildx uses: docker/setup-buildx-action@v3 - name: Build and push image uses: docker/build-push-action@v6 with: context: . push: true tags: make/birdspotter:latest platforms: linux/amd64,linux/arm64