mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
Don't bother with dev images in deploy script, enable caching
This commit is contained in:
parent
557ee64cf3
commit
9fac40bcdd
1 changed files with 5 additions and 6 deletions
|
@ -24,7 +24,6 @@ function build_image() {
|
|||
|
||||
docker build \
|
||||
--pull \
|
||||
--no-cache \
|
||||
--build-arg TAG=$tag \
|
||||
-t asonix/pictrs:$arch-$tag \
|
||||
-t asonix/pictrs:$arch-latest \
|
||||
|
@ -63,11 +62,11 @@ git push origin $new_tag
|
|||
git push
|
||||
|
||||
# Rebuilding docker
|
||||
docker-compose build
|
||||
docker tag dev_pictrs:latest asonix/pictrs:x64-$new_tag-dev
|
||||
docker tag dev_pictrs:latest asonix/pictrs:x64-latest-dev
|
||||
docker push asonix/pictrs:x64-$new_tag-dev
|
||||
docker push asonix/pictrs:x64-latest-dev
|
||||
# docker-compose build
|
||||
# docker tag dev_pictrs:latest asonix/pictrs:x64-$new_tag-dev
|
||||
# docker tag dev_pictrs:latest asonix/pictrs:x64-latest-dev
|
||||
# docker push asonix/pictrs:x64-$new_tag-dev
|
||||
# docker push asonix/pictrs:x64-latest-dev
|
||||
|
||||
# Build for arm64v8 and arm32v7
|
||||
build_image $new_tag arm64v8
|
||||
|
|
Loading…
Reference in a new issue