mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 02:40:09 +00:00
add a script to publish to latest-arm64
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
13
develop.md
13
develop.md
@@ -16,6 +16,7 @@ It will now also select the developer channel for all other containers automatic
|
||||
|
||||
## How to promote builds from develop to latest
|
||||
|
||||
<!---
|
||||
You can use the Docker CLI to promote builds from develop to latest. Make sure to adjust:
|
||||
|
||||
- $name
|
||||
@@ -28,13 +29,25 @@ docker pull nextcloud/$AIO_NAME@sha256:$AIO_DIGEST
|
||||
docker tag nextcloud/$AIO_NAME@sha256:$AIO_DIGEST nextcloud/$AIO_NAME\:latest
|
||||
docker push nextcloud/$AIO_NAME\:latest
|
||||
```
|
||||
--->
|
||||
|
||||
To automatically promoted the latest develop version you can use the following script:
|
||||
|
||||
**WARNING:** Make sure to verify that the latest develop tag is what you really want to deploy since someone could have pushed to main and created a new container in between.
|
||||
```shell
|
||||
# x64
|
||||
export AIO_NAME=$name
|
||||
docker pull nextcloud/$AIO_NAME\:develop
|
||||
docker tag nextcloud/$AIO_NAME\:develop nextcloud/$AIO_NAME\:latest
|
||||
docker push nextcloud/$AIO_NAME\:latest
|
||||
```
|
||||
|
||||
**ATTENTION**: don't run the script below since the arm64 containers currently don't work!
|
||||
```shell
|
||||
# arm64
|
||||
export AIO_NAME=$name
|
||||
docker pull nextcloud/$AIO_NAME\:develop-arm64
|
||||
docker tag nextcloud/$AIO_NAME\:develop-arm64 nextcloud/$AIO_NAME\:latest-arm64
|
||||
docker push nextcloud/$AIO_NAME\:latest-arm64
|
||||
```
|
||||
Later when the arm64 containers work, we can simply publish to latest and latest-arm64 in a rush by providing the name one time at the top of the script.
|
||||
Reference in New Issue
Block a user