name: Build image on: push: branches: - main jobs: build-image: runs-on: ubuntu-latest steps: - name: Check out repository code uses: actions/checkout@v4 with: github-server-url: 'https://git.secretmine.de/' - name: Login to Registry uses: docker/login-action@v3 with: registry: git.secretmine.de username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build Image uses: docker/build-push-action@v5 with: file: Containerfile context: . push: true tags: git.secretmine.de/secretminede/couplequestions:latest