ci(buildkite): force module index update on tagged release (#2376)

This commit is contained in:
Amir Zarrinkafsh 2021-09-14 20:29:23 +10:00 committed by GitHub
parent 7f22db10d8
commit 4e94d264dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,4 +72,9 @@ if [[ "${BUILDKITE_LABEL}" == ":docker: Deploy Manifests" ]] && [[ "${BUILDKITE_
echo "Removing id ${GHCR_VERSION}" echo "Removing id ${GHCR_VERSION}"
curl -fsL --retry 3 -o /dev/null -X "DELETE" -H "Authorization: Bearer ${GHCR_PASSWORD}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/orgs/authelia/packages/container/authelia/versions/${GHCR_VERSION} curl -fsL --retry 3 -o /dev/null -X "DELETE" -H "Authorization: Bearer ${GHCR_PASSWORD}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/orgs/authelia/packages/container/authelia/versions/${GHCR_VERSION}
done done
fi
if [[ "${BUILDKITE_LABEL}" == ":github: Deploy Artifacts" ]]; then
echo "--- :go: Force module index update"
go get github.com/authelia/authelia/v4
fi fi