Compare commits
4 Commits
feature/po
...
customized
| Author | SHA1 | Date | |
|---|---|---|---|
| 63ab6e3f58 | |||
| f75b2e00df | |||
| d6febaaa11 | |||
| e3e3ae0955 |
27
.gitea/workflows/publish-image.yaml
Normal file
27
.gitea/workflows/publish-image.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
name: Publish Export Image
|
||||
on:
|
||||
push:
|
||||
branches: [ customized-moa ]
|
||||
paths: [ 'Dockerfile' ] # Only run if Dockerfile changes
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
push_to_registry:
|
||||
runs-on: heavy-linux
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: registry.forge.northernlighthouseinteractive.com # Your Gitea URL
|
||||
username: ${{ gitea.repository_owner }}
|
||||
password: ${{ secrets.ORG_ACTIONS_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: registry.forge.northernlighthouseinteractive.com/${{ gitea.repository_owner }}/godot-exporter:24.04
|
||||
27
Dockerfile
Normal file
27
Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
# Dockerfile
|
||||
FROM ubuntu:24.04
|
||||
|
||||
# Prevent interactive prompts during build
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# 1. Install Node.js (Required for Gitea/GitHub Actions)
|
||||
# 2. Install Godot Runtime Dependencies (Required for export)
|
||||
# 3. Install Git/Curl (Useful utilities)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
nodejs \
|
||||
npm \
|
||||
git \
|
||||
curl \
|
||||
libfontconfig1 \
|
||||
libx11-6 \
|
||||
libxcursor1 \
|
||||
libxext6 \
|
||||
libxfixes3 \
|
||||
libxi6 \
|
||||
libxinerama1 \
|
||||
libxrandr2 \
|
||||
libxrender1 \
|
||||
libgl1 \
|
||||
ca-certificates \
|
||||
unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
Reference in New Issue
Block a user