From 0bd373a61292f811412c04692240563eea3089d6 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Tue, 26 May 2026 17:18:09 -0500 Subject: [PATCH] Add mingw --- .gitea/workflows/job.yaml | 30 ++++++++++++++++++++++++++++++ Dockerfile.mingw | 5 +++++ 2 files changed, 35 insertions(+) create mode 100644 .gitea/workflows/job.yaml create mode 100644 Dockerfile.mingw diff --git a/.gitea/workflows/job.yaml b/.gitea/workflows/job.yaml new file mode 100644 index 0000000..ed5bf62 --- /dev/null +++ b/.gitea/workflows/job.yaml @@ -0,0 +1,30 @@ +name: Build Global Containers +run-name: ${{ gitea.actor }} is building the global containers 🚀 +on: [push] + +env: + GITEA_DOMAIN: git.tesses.org + GITEA_REGISTRY_USER: tesses50 + RESULT_MINGW_IMAGE_NAME: tesses50/global-containers/mingw + +jobs: + build-and-push-image: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Log in to registry + uses: docker/login-action@v3 + with: + registry: ${{ env.GITEA_DOMAIN }} + username: ${{ env.GITEA_REGISTRY_USER }} + password: ${{ secrets.PACKAGE_AND_BREW }} + - name: Build and push image + uses: docker/build-push-action@v6 + with: + context: . + file: ./Dockerfile.mingw + push: true + tags: ${{ env.GITEA_DOMAIN }}/${{ env.RESULT_MINGW_IMAGE_NAME }}:latest \ No newline at end of file diff --git a/Dockerfile.mingw b/Dockerfile.mingw new file mode 100644 index 0000000..01c379f --- /dev/null +++ b/Dockerfile.mingw @@ -0,0 +1,5 @@ +FROM docker.gitea.com/runner-images:ubuntu-24.04 + +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt-get -y update && apt-get -y install build-essentials make ninja cmake git mingw-w64 wget curl \ No newline at end of file