From d9e71bec294cb5037dc2453b02f3485e2c879032 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 2 Nov 2022 16:33:54 +1300 Subject: [PATCH] Update apk package list --- .drone.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1b0ba31..0861e54 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -76,7 +76,7 @@ local gen_release() = 'mkdir ${DRONE_REPO_NAME}', 'rsync -a . ${DRONE_REPO_NAME} --exclude ${DRONE_REPO_NAME}', 'cd ${DRONE_REPO_NAME}', - 'apk add --no-cache curl', + 'apk update && apk add --no-cache curl', 'tar -czf ../${DRONE_REPO_NAME}.${DRONE_TAG}.tar.gz ./*', // Create an archive of the role 'curl --user ${GITEA_USER}:${GITEA_TOKEN} --upload-file ../${DRONE_REPO_NAME}.${DRONE_TAG}.tar.gz https://${GITEA_URL}/api/packages/${GITEA_REPOUSER}/generic/ansible-role-common/${DRONE_TAG}/${DRONE_REPO_NAME}.${DRONE_TAG}.tar.gz', ],