25 lines
778 B
YAML
25 lines
778 B
YAML
name: Publish Builder Image
|
|
on: [push]
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- 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!
|
|
|
|
- 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 |