We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c6cd9 commit 379840fCopy full SHA for 379840f
.github/workflows/devcontainer-freertos-nxp.yaml
@@ -33,7 +33,7 @@ jobs:
33
- name: Get container version
34
shell: pwsh
35
run: |
36
- $dockerfileContent = Get-Content("${{ env.CONTAINER_VERSION_FILE }}")
+ $dockerfileContent = Get-Content("${{ env.CONTAINER_VERSION_FILE }}") -First 1
37
$dockerfileContent -match '(?<=\:)(?:[v]\d+.\d+)'
38
$containerVersion = $Matches[0].ToString()
39
echo "GCR_VERSION=$containerVersion" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
0 commit comments