Skip to content

Commit 8eea157

Browse files
committed
fix build target
1 parent 70f976d commit 8eea157

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
-f docker/pulumi/Dockerfile \
112112
--platform linux/${{ matrix.arch }} \
113113
-t ${{ env.DOCKER_ORG }}/pulumi:${{ env.PULUMI_VERSION }}${{ matrix.variant }}-${{ matrix.arch }} \
114-
--target base \
114+
--target \$(if [ "${{ matrix.variant }}" = "-nonroot" ]; then echo "nonroot"; else echo base"; fi) \
115115
--build-arg PULUMI_VERSION=${{ env.PULUMI_VERSION }} \
116116
--load \
117117
docker/pulumi

0 commit comments

Comments
 (0)