# .gitea/workflows/publish.yml name: Publish Action Image on: push: branches: [main] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Login to registry uses: docker/login-action@v2 with: registry: registry.natelubitz.com username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push action image run: | docker build -t registry.natelubitz.com/infra/kforge:latest . docker push registry.natelubitz.com/infra/kforge:latest