Skip to content

Commit a5112f7

Browse files
committed
pass docker image to docker build
do not use asdf in tag-release update trivyignore fix path use workspace debug more debug even more debug use different path fix it fix tag
1 parent 65f92dd commit a5112f7

13 files changed

+1182
-170
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"args": {
77
"DOCKER_GID": "${env:DOCKER_GID:}",
88
"IMAGE_NAME": "node_24_python_3_14",
9-
"IMAGE_VERSION": "v1.0.3",
9+
"IMAGE_VERSION": "v1.0.4",
1010
"USER_UID": "${localEnv:USER_ID:}",
1111
"USER_GID": "${localEnv:GROUP_ID:}"
1212
},

.github/workflows/pull_request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)