From cc90a12247db7a972acf36a39258afc4c8d0f831 Mon Sep 17 00:00:00 2001 From: MicroOps Date: Wed, 30 Oct 2024 17:02:09 +0800 Subject: [PATCH] fix: workflow build docker image Signed-off-by: MicroOps --- .github/workflows/github-actions-build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions-build.yaml b/.github/workflows/github-actions-build.yaml index b462d74..75e1f76 100644 --- a/.github/workflows/github-actions-build.yaml +++ b/.github/workflows/github-actions-build.yaml @@ -191,7 +191,8 @@ jobs: ls * | while read VERSION_ID; do echo "Delete image: ${REGISTRY}/${IMAGE_NAME}@sha256:${VERSION_ID}" - curl -X DELETE \ - -H "Authorization: Bearer ${GITHUB_TOKEN}" \ - -H "Accept: application/vnd.github+json" \ - https://api.github.com/user/packages/container/${IMAGE_NAME}/versions/${VERSION_ID} \ No newline at end of file + curl -X DELETE \ + -H "Authorization: Bearer ${GITHUB_TOKEN}" \ + -H "Accept: application/vnd.github+json" \ + https://api.github.com/user/packages/container/${IMAGE_NAME}/versions/${VERSION_ID} + done \ No newline at end of file