Skip to content

Commit

Permalink
move artifacts from previous jobs into the build context
Browse files Browse the repository at this point in the history
  • Loading branch information
chouquette committed Feb 5, 2025
1 parent 1e767b8 commit 062c3ca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .gitlab/container_build/docker_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ docker_build_cluster_agent_amd64:
IMAGE: registry.ddbuild.io/ci/datadog-agent/cluster-agent
BUILD_CONTEXT: Dockerfiles/cluster-agent
before_script:
- cp $CLUSTER_AGENT_BINARIES_DIR/datadog-cluster-agent $BUILD_CONTEXT/
- cp -R $CWS_INSTRUMENTATION_BINARIES_DIR $BUILD_CONTEXT/
- cp -Rvf Dockerfiles/agent/nosys-seccomp Dockerfiles/cluster-agent/
- mv -vf $CLUSTER_AGENT_BINARIES_DIR/datadog-cluster-agent $BUILD_CONTEXT/
- mv -vf $CWS_INSTRUMENTATION_BINARIES_DIR $BUILD_CONTEXT/
- mv -vf Dockerfiles/agent/nosys-seccomp Dockerfiles/cluster-agent/

docker_build_cluster_agent_arm64:
extends: [.docker_build_job_definition_arm64]
Expand All @@ -256,9 +256,9 @@ docker_build_cluster_agent_arm64:
IMAGE: registry.ddbuild.io/ci/datadog-agent/cluster-agent
BUILD_CONTEXT: Dockerfiles/cluster-agent
before_script:
- cp $CLUSTER_AGENT_BINARIES_DIR/datadog-cluster-agent $BUILD_CONTEXT/
- cp -R $CWS_INSTRUMENTATION_BINARIES_DIR $BUILD_CONTEXT/
- cp -Rvf Dockerfiles/agent/nosys-seccomp Dockerfiles/cluster-agent/
- mv -vf $CLUSTER_AGENT_BINARIES_DIR/datadog-cluster-agent $BUILD_CONTEXT/
- mv -vf $CWS_INSTRUMENTATION_BINARIES_DIR $BUILD_CONTEXT/
- mv -vf Dockerfiles/agent/nosys-seccomp Dockerfiles/cluster-agent/

# build the cws-instrumentation image
docker_build_cws_instrumentation_amd64:
Expand Down

0 comments on commit 062c3ca

Please sign in to comment.