From 8906df900beb5fb522e0b84d53c59de904358365 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani Date: Wed, 8 Mar 2023 07:06:25 +0000 Subject: [PATCH] fix(ci): convert ci is failing due to perms Signed-off-by: Ramkumar Chinchani --- .github/workflows/convert.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/convert.yaml b/.github/workflows/convert.yaml index 67e62a10..e6a4add2 100644 --- a/.github/workflows/convert.yaml +++ b/.github/workflows/convert.yaml @@ -46,8 +46,8 @@ jobs: git clone https://github.com/alpinelinux/docker-alpine.git chmod -R a+rwx docker-alpine cd docker-alpine - mkdir -p /out - chmod -R a+rwx /out + sudo mkdir -p /out + sudo chmod -R a+rwx /out stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --skip-tls --url docker://${REGISTRY_URL} --layer alpine --tag latest