Files
godot-builder-image/.gitea/workflows/publish-image.yaml

24 lines
755 B
YAML

jobs:
build-and-push:
runs-on: ubuntu-latest
env:
DOCKER_HOST: tcp://localhost:2375
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Gitea Registry
uses: docker/login-action@v2
with:
registry: gitea.212.63.210.91.nip.io
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- 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