name: Build and Push EVS Bridge Image on: push: branches: [ "main" ] paths: - "bridge/**" - ".gitea/workflows/bridge-image.yml" workflow_dispatch: env: REGISTRY: git.khnm-zimmerling.de IMAGE_NAME: kai/evs-bridge jobs: docker: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Log in to registry uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push latest uses: docker/build-push-action@v6 with: context: bridge file: bridge/Dockerfile push: true tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest