Skip to content

Commit 99dd9fe

Browse files
committed
add envs
1 parent 478e9de commit 99dd9fe

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/store-openstack-capi-image-elastx.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@ jobs:
4343
image_name=ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
4444
image_path=/tmp/home/ubuntu-2404-efi-kube-${{ env.version }}-ck8s-capi-${{ env.tag }}
4545
46-
docker run -i --rm -v ${{ github.workspace }}:/tmp/home ${{ env.docker_image }} openstack image create --disk-format qcow2 "${image_create_extra_vars[@]}" --file "${image_path}" --shared --progress "${image_name}"
46+
docker run -i --rm \
47+
-e OS_APPLICATION_CREDENTIAL_ID -e OS_APPLICATION_CREDENTIAL_SECRET -e OS_AUTH_URL -e OS_AUTH_TYPE -e OS_IDENTITY_API_VERSION -e OS_INTERFACE -e OS_REGION_NAME \
48+
-v ${{ github.workspace }}:/tmp/home ${{ env.docker_image }} \
49+
openstack image create --disk-format qcow2 "${image_create_extra_vars[@]}" --file "${image_path}" --shared --progress "${image_name}"

0 commit comments

Comments
 (0)