add dockerfile and build script
Some checks failed
Docker Build / Build and Push Images (push) Failing after 29s
Some checks failed
Docker Build / Build and Push Images (push) Failing after 29s
This commit is contained in:
parent
ab8d165262
commit
5b7562f244
2 changed files with 54 additions and 0 deletions
29
.forgejo/workflows/build.yaml
Normal file
29
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: Docker Build
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build and Push Images:
|
||||||
|
runs-on: docker
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
|
- name: Login to CoastalCommits
|
||||||
|
uses: actions/docker-login@v3
|
||||||
|
with:
|
||||||
|
registry: www.coastalcommits.com
|
||||||
|
username: Seaswimmer
|
||||||
|
password: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
|
- name: Build and push GalacticFactory image
|
||||||
|
uses: actions/docker-build-push@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
file: ./mediawiki/Dockerfile
|
||||||
|
push: true
|
||||||
|
tags: www.coastalcommits.com/zenith/mediawiki:latest
|
25
mediawiki/Dockerfile
Normal file
25
mediawiki/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
FROM mediawiki:1.42.1
|
||||||
|
|
||||||
|
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
|
||||||
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/TemplateData \
|
||||||
|
/var/www/html/extensions/TemplateData
|
||||||
|
|
||||||
|
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
|
||||||
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
|
||||||
|
/var/www/html/extensions/MobileFrontend
|
||||||
|
|
||||||
|
RUN git clone --depth 1 \
|
||||||
|
https://gitlab.com/hydrawiki/extensions/EmbedVideo.git \
|
||||||
|
/var/www/html/extensions/EmbedVideo
|
||||||
|
|
||||||
|
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
|
||||||
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/Elastica \
|
||||||
|
/var/www/html/extensions/Elastica
|
||||||
|
|
||||||
|
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
|
||||||
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CirrusSearch \
|
||||||
|
/var/www/html/extensions/CirrusSearch
|
||||||
|
|
||||||
|
RUN git clone --depth 1 -b $MEDIAWIKI_BRANCH \
|
||||||
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/ConfirmEdit \
|
||||||
|
/var/www/html/extensions/ConfirmEdit
|
Loading…
Reference in a new issue