Skip to content

Commit

Permalink
deps (ci): run on Ubuntu 22.04, update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gesinn-it-gea committed Jun 11, 2024
1 parent 12f7951 commit 015cd2a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,25 @@ on:
jobs:

build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
mediawiki_version: ['1.40', '1.39', '1.35']
php_version: ['8.1','8.0', '7.4']
mediawiki_version: ['1.41', '1.40', '1.39', '1.35']
php_version: ['8.1', '8.0', '7.4']
target_repository: ['mediawiki', 'mediawiki-ci']
include:
# set global default php
- php_default: '8.1'
# set 1.39 default php
# set 1.35 default php
- php_default: '7.4'
mediawiki_version: '1.35'
exclude:
- php_version: 7.4
- php_version: '7.4'
mediawiki_version: '1.41'
- php_version: '7.4'
mediawiki_version: '1.40'
- php_version: 7.4
- php_version: '7.4'
mediawiki_version: '1.39'
steps:
- name: Checkout
Expand All @@ -33,7 +35,7 @@ jobs:
# Docker setup
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: network=host

Expand All @@ -45,7 +47,7 @@ jobs:
restore-keys: |
${{ runner.os }}-buildx-
- uses: docker/login-action@v2
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
Expand All @@ -65,7 +67,7 @@ jobs:
# Image build
- name: Build and push
id: docker_build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: ./
file: ./Dockerfile
Expand Down

0 comments on commit 015cd2a

Please sign in to comment.