diff --git a/.gitea/workflows/publish-image.yaml b/.gitea/workflows/publish-image.yaml index f537849..084e471 100644 --- a/.gitea/workflows/publish-image.yaml +++ b/.gitea/workflows/publish-image.yaml @@ -1,36 +1,24 @@ -name: Publish Builder Image -on: [push] - jobs: build-and-push: runs-on: ubuntu-latest - env: DOCKER_HOST: tcp://localhost:2375 - # If localhost fails, try: tcp://docker:2375 (depending on service alias) steps: - name: Checkout uses: actions/checkout@v3 - # This handles the connection to the daemon properly - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - with: - driver: docker - - name: Login to Gitea Registry - # We use the internal URL for speed, but external DNS for the registry name uses: docker/login-action@v2 with: registry: gitea.212.63.210.91.nip.io username: ${{ gitea.actor }} - password: ${{ secrets.GITHUB_TOKEN }} # Gitea auto-injects this! + password: ${{ secrets.GITHUB_TOKEN }} - - name: Build and Push - uses: docker/build-push-action@v4 - with: - context: . - push: true - # Tag it as 'latest' in your user's package registry - tags: gitea.212.63.210.91.nip.io/${{ gitea.repository_owner }}/godot-builder:latest \ No newline at end of file + - name: Build and Push (Native Docker) + run: | + # Build the image using the standard docker command + docker build . --tag gitea.212.63.210.91.nip.io/${{ gitea.repository_owner }}/godot-builder:latest + + # Push it + docker push gitea.212.63.210.91.nip.io/${{ gitea.repository_owner }}/godot-builder:latest \ No newline at end of file diff --git a/Dockerfile.dockerfile b/Dockerfile similarity index 100% rename from Dockerfile.dockerfile rename to Dockerfile