Skip to content

Commit

Permalink
Run on Ubuntu 20.04 while using docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindhagberg committed Aug 2, 2024
1 parent a9de3cb commit e54fe81
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: CI
jobs:
build:
name: Build server image
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
services:
postgres:
image: postgres:15
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

buildwww:
name: Build httpd+cgi image
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -73,7 +73,7 @@ jobs:

buildclient:
name: Build client image
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -93,7 +93,7 @@ jobs:
test-scripts:
name: Run test scripts
needs: [build, buildwww, buildclient]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
test:
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
name: Publish server image
needs: [test-scripts]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
name: Publish httpd+cgi image
needs: [test-scripts]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
packages: write
contents: read
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
# cd_hook:
# name: Webhook to local builders
# needs: [test-scripts]
# runs-on: ubuntu-latest
# runs-on: ubuntu-20.04
# continue-on-error: true
# steps:
# - name: HTTP request
Expand All @@ -212,7 +212,7 @@ jobs:
if: ${{ github.ref == 'refs/heads/master' }}
name: Tag and release
needs: [test-scripts]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit e54fe81

Please sign in to comment.