Skip to content

Commit

Permalink
Run CI jobs on Ubuntu 22.04 instead of the latest version
Browse files Browse the repository at this point in the history
I hope this fixes the failing CI workflow for building the Linux Docker
image.
  • Loading branch information
PatrickKa committed Dec 11, 2024
1 parent 5dc4f54 commit 8a26837
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3

- name: Copy scripts to linux-x86 build context
run: cp install.sh ./linux-x86/. && cp libraries.txt ./linux-x86/.

- name: Copy scripts to full build contexts
- name: Copy scripts to full build contexts
run: cp install.sh ./full/. && cp libraries.txt ./full/.

- name: Build the linux Docker image
run: docker build ./linux-x86 -t tuwienspaceteam/sts1-cobc:latest-linux-x86

- name: Build the full Docker image
run: docker build ./full

6 changes: 3 additions & 3 deletions .github/workflows/ci-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
docker-linux-x86:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout
Expand Down Expand Up @@ -45,13 +45,13 @@ jobs:
docker-full:
needs: docker-linux-x86

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Copy scripts to full build contexts
- name: Copy scripts to full build contexts
run: cp install.sh ./full/. && cp libraries.txt ./full/.

- name: Docker meta
Expand Down

0 comments on commit 8a26837

Please sign in to comment.