Skip to content

Commit 25c172f

Browse files
committed
Added g++14, Clang 17/18/19. Updated base image to Ubuntu 24.04
1 parent 029c5e0 commit 25c172f

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,28 @@ jobs:
1717
# steps to perform in job
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121

2222
# setup Docker buld action
2323
- name: Set up Docker Buildx
2424
id: buildx
25-
uses: docker/setup-buildx-action@v1
25+
uses: docker/setup-buildx-action@v3
2626

2727
- name: Login to DockerHub
28-
uses: docker/login-action@v1
28+
uses: docker/login-action@v3
2929
with:
3030
username: ${{ secrets.DOCKERHUB_USERNAME }}
3131
password: ${{ secrets.DOCKERHUB_TOKEN }}
3232

3333
- name: Build image and push to Docker Hub
34-
uses: docker/build-push-action@v2
34+
uses: docker/build-push-action@v6
3535
with:
3636
# relative path to the place where source code with Dockerfile is located
3737
context: ./
3838
# Note: tags has to be all lower-case
3939
tags: |
4040
madduci/docker-linux-cpp:latest
41-
madduci/docker-linux-cpp:1.10
41+
madduci/docker-linux-cpp:2.0
4242
# build on feature branches, push only on master branch
4343
push: ${{ github.ref == 'refs/heads/master' }}
4444

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:24.04
22

33
LABEL maintainer="Michele Adduci <adduci@tutanota.com>" \
44
license="MIT"
55

66
WORKDIR /project
77

8-
ARG DEB_COMPILERS="g++-12 g++-13"
9-
ARG EXTRA_CLANG_COMPILERS="15 16"
8+
ARG DEB_COMPILERS="g++-12 g++-13 g++-14"
9+
ARG EXTRA_CLANG_COMPILERS="17 18 19"
1010

1111
RUN echo "Installing required packages " \
1212
&& export DEBIAN_FRONTEND=noninteractive \

0 commit comments

Comments
 (0)