ci: optimize speed by avoiding a busted cache after prepare step

This commit is contained in:
Julian Tölle 2023-04-02 16:05:29 +02:00
parent b82860dfba
commit 86d58370d3
2 changed files with 9 additions and 11 deletions

View file

@ -11,8 +11,6 @@ plugins:
- npmPublish: false
- - "@semantic-release/exec"
- prepareCmd: |
hack/build-docker-image.sh prepare ${nextRelease.version}
# Update version in Helm Chart
CHART_FILE=charts/listory/Chart.yaml
@ -30,6 +28,9 @@ plugins:
-e "s/apricote\/listory:.*/apricote\/listory:${nextRelease.version}/g" \
docker-compose.prod.yml
# Build docker image after updating all versions, to make sure that we
# don't bust the cache between prepare & publish
hack/build-docker-image.sh prepare ${nextRelease.version}
publishCmd: |
hack/build-docker-image.sh publish ${nextRelease.version}