Skip to content

🌻➑️🐳 Build & Push MediaWiki Docker Image #204

🌻➑️🐳 Build & Push MediaWiki Docker Image

🌻➑️🐳 Build & Push MediaWiki Docker Image #204

name: 🐳 Build & Push Docker Image
run-name: 🌻➑️🐳 Build & Push MediaWiki Docker Image
on:
push:
branches:
- 'smw'
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: πŸ”’ Set Calver Version
uses: Nelyx/action-calver@v1.0.0
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 }}