diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index aafe5c6..5292e00 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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' }} diff --git a/Dockerfile b/Dockerfile index 33cc7ad..bbfa312 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM ubuntu:22.04 +FROM ubuntu:24.04 LABEL maintainer="Michele Adduci " \ 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 \