Skip to content

🌻 Build MediaWiki Docker image #79

🌻 Build MediaWiki Docker image

🌻 Build MediaWiki Docker image #79

name: 🌻 Build MediaWiki Docker image
run-name: 🌻 Build MediaWiki Docker image
on:
push:
branches:
- 'smw'
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: πŸ”’ Set Calver Version
uses: Nelyx/[email protected]
id: setcalver
with:
default_branch: 'refs/heads/smw'
format: 'YY.MM.DD'
-
name: πŸ”‘ Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: πŸ—οΈ Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: starcitizentools/mediawiki:smw-latest,starcitizentools/mediawiki:smw-${{ steps.setcalver.outputs.package_version }}