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:
|
jobs:
|
||||||
delete-old-branch:
|
delete-old-branch:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- name: Delete old contributors-update branch
|
- name: Delete old contributors-update branch
|
||||||
|
@ -16,7 +16,7 @@ jobs:
|
||||||
branches: contributors-update
|
branches: contributors-update
|
||||||
|
|
||||||
add-contributors:
|
add-contributors:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
needs: delete-old-branch
|
needs: delete-old-branch
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
name: 'Deploy 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' }}
|
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
2
.github/workflows/docs-preview-prepare.yml
vendored
2
.github/workflows/docs-preview-prepare.yml
vendored
|
@ -23,7 +23,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
prepare-preview:
|
prepare-preview:
|
||||||
name: 'Build Preview'
|
name: 'Build Preview'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
env:
|
env:
|
||||||
BUILD_DIR: docs/site
|
BUILD_DIR: docs/site
|
||||||
NETLIFY_SITE_PREFIX: pullrequest-${{ github.event.pull_request.number }}
|
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:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
name: 'Deploy Docs'
|
name: 'Deploy Docs'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
name: 'Update `versions.json` if necessary'
|
name: 'Update `versions.json` if necessary'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
# Avoid race condition with pushing to `gh-pages` branch by waiting for `deploy` to complete first
|
# Avoid race condition with pushing to `gh-pages` branch by waiting for `deploy` to complete first
|
||||||
needs: deploy
|
needs: deploy
|
||||||
|
|
2
.github/workflows/generic_build.yml
vendored
2
.github/workflows/generic_build.yml
vendored
|
@ -23,7 +23,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
build-image:
|
build-image:
|
||||||
name: 'Build'
|
name: 'Build'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
outputs:
|
outputs:
|
||||||
build-cache-key: ${{ steps.derive-image-cache-key.outputs.digest }}
|
build-cache-key: ${{ steps.derive-image-cache-key.outputs.digest }}
|
||||||
steps:
|
steps:
|
||||||
|
|
2
.github/workflows/generic_publish.yml
vendored
2
.github/workflows/generic_publish.yml
vendored
|
@ -14,7 +14,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
publish-images:
|
publish-images:
|
||||||
name: 'Publish'
|
name: 'Publish'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
2
.github/workflows/generic_test.yml
vendored
2
.github/workflows/generic_test.yml
vendored
|
@ -13,7 +13,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
name: 'Test'
|
name: 'Test'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
part: [serial, parallel/set1, parallel/set2, parallel/set3]
|
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:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Close stale issues
|
- name: Close stale issues
|
||||||
uses: actions/stale@v7
|
uses: actions/stale@v7
|
||||||
|
|
2
.github/workflows/linting.yml
vendored
2
.github/workflows/linting.yml
vendored
|
@ -10,7 +10,7 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
Loading…
Reference in a new issue