Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
0f505846
Unverified
Commit
0f505846
authored
Mar 19, 2026
by
Ran Rubin
Committed by
GitHub
Mar 19, 2026
Browse files
ci(bugfix): refresh builders addresses between builds (#7522)
parent
680c4f6a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
10 deletions
+30
-10
.github/actions/build-flavor/action.yml
.github/actions/build-flavor/action.yml
+8
-0
.github/actions/compliance-scan/action.yml
.github/actions/compliance-scan/action.yml
+22
-10
No files found.
.github/actions/build-flavor/action.yml
View file @
0f505846
...
...
@@ -221,6 +221,14 @@ runs:
extra_build_args
:
|
DYNAMO_COMMIT_SHA=${{ github.sha }}
${{ inputs.extra_build_args }}
-
name
:
Refresh BuildKit builder
if
:
${{ inputs.target != 'dev' }}
uses
:
./.github/actions/builder-refresher
with
:
builder_name
:
${{ inputs.builder_name }}
flavor
:
${{ inputs.framework }}
arch
:
${{ inputs.platform }}
cuda_version
:
${{ inputs.cuda_version }}
-
name
:
Build and Push Test Image
if
:
${{ inputs.target != 'dev' }}
shell
:
bash
...
...
.github/actions/compliance-scan/action.yml
View file @
0f505846
...
...
@@ -39,19 +39,17 @@ inputs:
runs
:
using
:
"
composite"
steps
:
-
name
:
Initialize builder
uses
:
./.github/actions/init-dynamo-builder
with
:
builder_name
:
compliance-${{ github.run_id }}-${{ github.run_attempt }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Set up Python
uses
:
actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
# v6.2.0
with
:
python-version
:
'
3.12'
pip-install
:
pyyaml
-
name
:
Set builder name
id
:
builder
shell
:
bash
run
:
echo "name=compliance-${{ github.run_id }}-${{ github.run_attempt }}" >> $GITHUB_OUTPUT
-
name
:
Resolve base image
id
:
resolve-base
shell
:
bash
...
...
@@ -67,13 +65,19 @@ runs:
BASE_IMAGE=$(python3 container/compliance/resolve_base_image.py ${RESOLVE_ARGS})
fi
echo "base_image=${BASE_IMAGE}" >> $GITHUB_OUTPUT
-
name
:
Initialize builder
uses
:
./.github/actions/init-dynamo-builder
with
:
builder_name
:
${{ steps.builder.outputs.name }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Extract target image packages
shell
:
bash
run
:
|
mkdir -p /tmp/compliance-target
docker buildx build \
--builder
compliance-${{ github.run_id }}-${{ github.run_attempt
}} \
--builder
${{ steps.builder.outputs.name
}} \
--platform linux/${{ inputs.arch }} \
--build-arg TARGET_IMAGE="${{ inputs.image }}" \
--output "type=local,dest=/tmp/compliance-target" \
...
...
@@ -83,13 +87,21 @@ runs:
-f container/compliance/Dockerfile.extract \
container/compliance/
-
name
:
Refresh BuildKit builder
if
:
${{ inputs.target != 'dev' }}
uses
:
./.github/actions/builder-refresher
with
:
builder_name
:
${{ steps.builder.outputs.name }}
flavor
:
general
arch
:
${{ inputs.arch }}
-
name
:
Extract base image packages
if
:
steps.resolve-base.outputs.base_image != ''
shell
:
bash
run
:
|
mkdir -p /tmp/compliance-base
docker buildx build \
--builder
compliance-${{ github.run_id }}-${{ github.run_attempt
}} \
--builder
${{ steps.builder.outputs.name
}} \
--platform linux/${{ inputs.arch }} \
--build-arg TARGET_IMAGE="${{ steps.resolve-base.outputs.base_image }}" \
--output "type=local,dest=/tmp/compliance-base" \
...
...
@@ -120,4 +132,4 @@ runs:
if
:
always()
shell
:
bash
run
:
|
docker buildx rm
compliance-${{ github.run_id }}-${{ github.run_attempt
}} || true
docker buildx rm
${{ steps.builder.outputs.name
}} || true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment