mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
fix: broken release pipeline on docker push
This commit is contained in:
parent
070d4996f4
commit
30e8cbf250
2 changed files with 30 additions and 18 deletions
|
|
@ -11,16 +11,7 @@ plugins:
|
|||
- npmPublish: false
|
||||
- - "@semantic-release/exec"
|
||||
- prepareCmd: |
|
||||
# Build Docker Container
|
||||
# Build now but dont push; this validates that the image builds
|
||||
# successfully and we can later re-use the cached build results to
|
||||
# push in "publish" stage
|
||||
docker buildx build \
|
||||
-t apricote/listory \
|
||||
--build-arg VERSION=${nextRelease.version} \
|
||||
--build-arg GIT_COMMIT=`git rev-parse HEAD` \
|
||||
--platform=linux/amd64,linux/arm64 \
|
||||
.
|
||||
hack/build-docker-image.sh prepare ${nextRelease.version}
|
||||
|
||||
# Update version in Helm Chart
|
||||
CHART_FILE=charts/listory/Chart.yaml
|
||||
|
|
@ -40,14 +31,7 @@ plugins:
|
|||
docker-compose.prod.yml
|
||||
|
||||
publishCmd: |
|
||||
# Build (with cache) & push Docker Images
|
||||
docker buildx build \
|
||||
-t apricote/listory:${nextRelease.version} \
|
||||
-t apricote/listory:latest \
|
||||
--build-arg VERSION=${nextRelease.version} \
|
||||
--build-arg GIT_COMMIT=`git rev-parse HEAD` \
|
||||
--platform=linux/amd64,linux/arm64 \
|
||||
--push \
|
||||
hack/build-docker-image.sh publish ${nextRelease.version}
|
||||
|
||||
- - "@semantic-release/git"
|
||||
- assets:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue