Skip to content

Commit

Permalink
Added g++14, Clang 17/18/19. Updated base image to Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
madduci committed Oct 9, 2024
1 parent 029c5e0 commit 25c172f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ jobs:
# steps to perform in job
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

# setup Docker buld action
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

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

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ubuntu:22.04
FROM ubuntu:24.04

LABEL maintainer="Michele Adduci <[email protected]>" \
license="MIT"

WORKDIR /project

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

RUN echo "Installing required packages " \
&& export DEBIAN_FRONTEND=noninteractive \
Expand Down

0 comments on commit 25c172f

Please sign in to comment.