@@ -11,43 +11,46 @@ jobs:
1111 name : Builds a docker image and extracts generated hostconfigs
1212 strategy :
1313 matrix :
14- compiler : [clang-10 , gcc-11 ]
14+ compiler : [clang-14 , gcc-13 ]
1515 env :
1616 REPO : axom/tpls
1717 HOSTCONFIG_LOC : /home/axom/export_hostconfig
1818 DOCKERFILE_PREFIX : ./scripts/docker/dockerfile_
1919 steps :
2020 - name : Extract branch name
2121 shell : bash
22- run : echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
22+ run : |
23+ echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
2324 id : extract_branch
2425 - name : Get dockerfile name
2526 shell : bash
26- run : echo "##[set-output name=filename;]$(echo ${DOCKERFILE_PREFIX}${{ matrix.compiler }})"
27+ run : |
28+ echo "filename=$(echo ${DOCKERFILE_PREFIX}${{ matrix.compiler }})" >> $GITHUB_OUTPUT
2729 id : dockerfile_name
2830 - name : Get dockerhub repo name
2931 shell : bash
3032 run : |
31- echo ${REPO}:${{ matrix.compiler }}_`date "+%m-%d-%y_%Hh-%Mm"`
32- echo "##[set-output name=repo_plus_tag;]$(echo ${REPO}:${{ matrix.compiler }}_`date "+%m-%d-%y_%Hh-%Mm"`)"
33- echo "##[set-output name=repo_plus_latest;]$(echo ${REPO}:${{ matrix.compiler }}_latest)"
33+ repo_plus_tag=$(echo ${REPO}:${{ matrix.compiler }}_`date "+%m-%d-%y_%Hh-%Mm"`) && export repo_plus_tag
34+ echo $repo_plus_tag
35+ echo "repo_plus_tag=$repo_plus_tag" >> $GITHUB_OUTPUT
36+ echo "repo_plus_latest=$(echo ${REPO}:${{ matrix.compiler }}_latest)" >> $GITHUB_OUTPUT
3437 id : repo_name
3538
3639 - name : Checkout
37- uses : actions/checkout@v2
40+ uses : actions/checkout@v4
3841
3942 - name : Set up Docker Buildx
40- uses : docker/setup-buildx-action@v1
43+ uses : docker/setup-buildx-action@v3
4144
4245 - name : Login to DockerHub
43- uses : docker/login-action@v1
46+ uses : docker/login-action@v3
4447 with :
4548 username : ${{ secrets.DOCKERHUB_USERNAME }}
4649 password : ${{ secrets.DOCKERHUB_TOKEN }}
4750
4851 - name : Build and push
4952 id : docker_build
50- uses : docker/build-push-action@v2
53+ uses : docker/build-push-action@v5
5154 with :
5255 push : true
5356 tags : ${{ steps.repo_name.outputs.repo_plus_tag }},${{ steps.repo_name.outputs.repo_plus_latest }}
6669 docker rm extract_hc
6770
6871 - name : Upload hostconfig
69- uses : actions/upload-artifact@v2
72+ uses : actions/upload-artifact@v4
7073 with :
7174 name : ${{ matrix.compiler }}_hostconfigs
7275 path : ./extracted_hc/export_hostconfig/*
0 commit comments