Add mingw
Some checks failed
Build Global Containers / build-and-push-image (push) Failing after 32s
Some checks failed
Build Global Containers / build-and-push-image (push) Failing after 32s
This commit is contained in:
30
.gitea/workflows/job.yaml
Normal file
30
.gitea/workflows/job.yaml
Normal file
@@ -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
|
||||||
5
Dockerfile.mingw
Normal file
5
Dockerfile.mingw
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user