@@ -19,17 +19,13 @@ jobs:
1919 get_config_values :
2020 runs-on : ubuntu-22.04
2121 outputs :
22- asdf_version : ${{ steps.asdf-version.outputs.version }}
2322 tag_format : ${{ steps.load-config.outputs.TAG_FORMAT }}
2423 devcontainer_version : ${{ steps.load-config.outputs.DEVCONTAINER_VERSION }}
2524 devcontainer_image : ${{ steps.load-config.outputs.DEVCONTAINER_IMAGE }}
2625 steps :
2726 - name : Checkout code
2827 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2928
30- - name : Get asdf version
31- id : asdf-version
32- run : echo "version=$(awk '!/^#/ && NF {print $1; exit}' .tool-versions.asdf)" >> "$GITHUB_OUTPUT"
3329 - name : Load config value
3430 id : load-config
3531 run : |
@@ -42,18 +38,22 @@ jobs:
4238 echo "DEVCONTAINER_VERSION=$DEVCONTAINER_VERSION"
4339 } >> "$GITHUB_OUTPUT"
4440 quality_checks :
45- uses : ./.github/workflows/quality-checks.yml
41+ uses : ./.github/workflows/quality-checks-devcontainer .yml
4642 needs : [get_config_values]
4743 with :
4844 runtime_docker_image : " ${{ needs.get_config_values.outputs.devcontainer_image }}:githubactions-${{ needs.get_config_values.outputs.devcontainer_version }}"
4945 secrets :
5046 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
5147 tag_release :
5248 needs : [quality_checks, get_config_values]
53- uses : ./.github/workflows/tag-release.yml
49+ uses : ./.github/workflows/tag-release-devcontainer.yml
50+ permissions :
51+ contents : read
52+ packages : read
53+ attestations : read
5454 with :
5555 dry_run : true
56- asdfVersion : ${{ needs.get_config_values.outputs.asdf_version }}
56+ runtime_docker_image : " ${{ needs.get_config_values.outputs.devcontainer_image }}:githubactions-${{ needs.get_config_values.outputs.devcontainer_version }} "
5757 branch_name : ${{ github.event.pull_request.head.ref }}
5858 tag_format : ${{ needs.get_config_values.outputs.tag_format }}
5959 secrets : inherit
0 commit comments