mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
update & streamline GH Actions runner images (#3025)
This commit is contained in:
parent
555fbb78c4
commit
bb758ea34d
4
.github/workflows/contributors.yml
vendored
4
.github/workflows/contributors.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
|||
|
||||
jobs:
|
||||
delete-old-branch:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
continue-on-error: true
|
||||
steps:
|
||||
- name: Delete old contributors-update branch
|
||||
|
@ -16,7 +16,7 @@ jobs:
|
|||
branches: contributors-update
|
||||
|
||||
add-contributors:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: delete-old-branch
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
2
.github/workflows/docs-preview-deploy.yml
vendored
2
.github/workflows/docs-preview-deploy.yml
vendored
|
@ -15,7 +15,7 @@ on:
|
|||
jobs:
|
||||
preview:
|
||||
name: 'Deploy Preview'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
|
||||
|
|
2
.github/workflows/docs-preview-prepare.yml
vendored
2
.github/workflows/docs-preview-prepare.yml
vendored
|
@ -23,7 +23,7 @@ permissions:
|
|||
jobs:
|
||||
prepare-preview:
|
||||
name: 'Build Preview'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
BUILD_DIR: docs/site
|
||||
NETLIFY_SITE_PREFIX: pullrequest-${{ github.event.pull_request.number }}
|
||||
|
|
4
.github/workflows/docs-production-deploy.yml
vendored
4
.github/workflows/docs-production-deploy.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
name: 'Deploy Docs'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
@ -73,7 +73,7 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
name: 'Update `versions.json` if necessary'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
# Avoid race condition with pushing to `gh-pages` branch by waiting for `deploy` to complete first
|
||||
needs: deploy
|
||||
|
|
2
.github/workflows/generic_build.yml
vendored
2
.github/workflows/generic_build.yml
vendored
|
@ -23,7 +23,7 @@ permissions:
|
|||
jobs:
|
||||
build-image:
|
||||
name: 'Build'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
build-cache-key: ${{ steps.derive-image-cache-key.outputs.digest }}
|
||||
steps:
|
||||
|
|
2
.github/workflows/generic_publish.yml
vendored
2
.github/workflows/generic_publish.yml
vendored
|
@ -14,7 +14,7 @@ permissions:
|
|||
jobs:
|
||||
publish-images:
|
||||
name: 'Publish'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: 'Checkout'
|
||||
uses: actions/checkout@v3
|
||||
|
|
2
.github/workflows/generic_test.yml
vendored
2
.github/workflows/generic_test.yml
vendored
|
@ -13,7 +13,7 @@ permissions:
|
|||
jobs:
|
||||
run-tests:
|
||||
name: 'Test'
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
part: [serial, parallel/set1, parallel/set2, parallel/set3]
|
||||
|
|
2
.github/workflows/handle_stalled.yml
vendored
2
.github/workflows/handle_stalled.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Close stale issues
|
||||
uses: actions/stale@v7
|
||||
|
|
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
|
@ -10,7 +10,7 @@ permissions:
|
|||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
Loading…
Reference in a new issue