Skip to content

Release mediawiki-extensions 1.5.0 for MW 1.42 (#834) #76

Release mediawiki-extensions 1.5.0 for MW 1.42 (#834)

Release mediawiki-extensions 1.5.0 for MW 1.42 (#834) #76

name: 'Docker: femiwiki-extensions'
env:
TAG: '1.5.0'
on:
push:
paths:
- 'dockers/femiwiki-extensions/**'
- .github/workflows/docker-femiwiki-extensions.yml
pull_request:
paths:
- 'dockers/femiwiki-extensions/**'
- .github/workflows/docker-femiwiki-extensions.yml
workflow_dispatch:
jobs:
docker-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
if: github.repository_owner == 'femiwiki' && github.ref == 'refs/heads/main'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
context: '{{ defaultContext }}:dockers/femiwiki-extensions'
platforms: linux/amd64,linux/arm64
cache-from: ghcr.io/femiwiki/femiwiki-extensions:latest
load: false
push: ${{ github.repository_owner == 'femiwiki' && github.ref == 'refs/heads/main' }}
tags: |
ghcr.io/femiwiki/femiwiki-extensions:latest
ghcr.io/femiwiki/femiwiki-extensions:${{ env.TAG }}