Skip to content

Commit

Permalink
mount actually .docker with registry secrets for rpm-ostree task
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Cerven <[email protected]>
  • Loading branch information
rcerven authored and arewm committed Oct 2, 2024
1 parent cf72fc2 commit baea6fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion task/rpm-ostree/0.1/rpm-ostree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ spec:
$network_opt \
--mount type=bind,source=$BUILD_DIR/tmp,target=/var/tmp,relabel=shared \
--privileged \
--tmpfs /run/secrets \
-e CONTEXT="$CONTEXT" \
-e IMAGE_FILE="$IMAGE_FILE" \
-e CONFIG_FILE="$CONFIG_FILE" \
Expand All @@ -178,6 +177,7 @@ spec:
--rm \
-v "$BUILD_DIR/workspaces/source:$(workspaces.source.path):Z" \
-v $BUILD_DIR/scripts:/script:Z \
-v "$BUILD_DIR/.docker/:/root/.docker:Z" \
--user=0 \
--entrypoint bash \
"$BUILDER_IMAGE" \
Expand Down
2 changes: 1 addition & 1 deletion task/rpm-ostree/0.2/rpm-ostree.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ spec:
$network_opt \
--mount type=bind,source=$BUILD_DIR/tmp,target=/var/tmp,relabel=shared \
--privileged \
--tmpfs /run/secrets \
-e CONTEXT="$CONTEXT" \
-e IMAGE_FILE="$IMAGE_FILE" \
-e CONFIG_FILE="$CONFIG_FILE" \
Expand All @@ -175,6 +174,7 @@ spec:
--rm \
-v "$BUILD_DIR/workspaces/source:$(workspaces.source.path):Z" \
-v $BUILD_DIR/scripts:/script:Z \
-v "$BUILD_DIR/.docker/:/root/.docker:Z" \
--user=0 \
--entrypoint bash \
"$BUILDER_IMAGE" \
Expand Down

0 comments on commit baea6fe

Please sign in to comment.