Skip to content

Commit 815a6ce

Browse files
committed
Upgrade base runner, and python version
1 parent 19026ac commit 815a6ce

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
repository_name: "${{ github.repository.name }}"
5252
repository_desc: "${{ github.repository.description }}"
5353

54+
- name: Check repository info
55+
run: |
56+
echo "::notice title=Repository Name::${{ env.REPO_NAME }}"
57+
echo "::notice title=Repository Description::${{ env.REPO_DESCRIPTION }}"
58+
shell: bash
59+
5460
- name: Build and push Docker image
5561
uses: docker/build-push-action@v6
5662
with:

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM ubuntu:22.04
33
SHELL ["/bin/bash", "-c"]
44

55
ARG RUNNER_VERSION
6-
ENV RUNNER_VERSION="${RUNNER_VERSION:-2.322.0}"
6+
ENV RUNNER_VERSION="${RUNNER_VERSION:-2.328.0}"
77
ENV DEBIAN_FRONTEND=noninteractive
88
ENV HOME="/home/docker"
99
ENV RELEASE_URL="https://github.com/actions/runner/releases"
@@ -27,16 +27,16 @@ RUN apt-get install -y --no-install-recommends \
2727
build-essential \
2828
libssl-dev \
2929
libffi-dev \
30-
python3.10 \
31-
python3.10-venv \
32-
python3.10-dev \
30+
python3.11 \
31+
python3.11-venv \
32+
python3.11-dev \
3333
python3-pip \
3434
nodejs \
3535
npm \
3636
golang-go
3737

3838
# Create a symbolic link for python pointing to python3.10
39-
RUN ln -s /usr/bin/python3.10 /usr/bin/python
39+
RUN ln -s /usr/bin/python3.11 /usr/bin/python
4040

4141
# https://github.com/rust-lang/rustup/issues/297#issuecomment-444818896
4242
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y

docker-compose-amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
args:
77
- PLATFORM=linux/amd64
88
image: github-runner-linux
9-
restart: no
9+
restart: unless-stopped
1010
platform: linux/amd64
1111
# Load environment variables from a file
1212
# env_file: '.env'

docker-compose-arm64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services:
66
args:
77
- PLATFORM=linux/arm64
88
image: github-runner-linux
9-
restart: no
9+
restart: unless-stopped
1010
platform: linux/arm64
1111
# Load environment variables from a file
1212
# env_file: '.env'

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
services:
33
runner:
44
image: thevickypedia/github-runner-linux
5-
restart: always
5+
restart: unless-stopped
66
# Load environment variables from a file
77
# env_file: '.env'
88
# Env vars defined under environment will override those from the env_file

0 commit comments

Comments
 (0)