Skip to content

Commit d7b7a01

Browse files
authored
Merge pull request #179 from nextcloud/enh/163/promot-to-latest
improve docs on how to promote images from develop to latest
2 parents 3ea0799 + d65ffed commit d7b7a01

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

develop.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,5 @@ Go to https://github.com/nextcloud-releases/all-in-one/actions/workflows/repo-sy
2020

2121
## How to promote builds from develop to latest
2222

23-
To automatically promoted the latest develop version you can use the following script:
24-
25-
**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.
26-
```shell
27-
# Set the name of the container that you want to promote from the develop- to the latest channels
28-
export AIO_NAME=$name
29-
# x64
30-
docker pull nextcloud/$AIO_NAME\:develop
31-
docker tag nextcloud/$AIO_NAME\:develop nextcloud/$AIO_NAME\:latest
32-
docker push nextcloud/$AIO_NAME\:latest
33-
# arm64
34-
docker pull nextcloud/$AIO_NAME\:develop-arm64
35-
docker tag nextcloud/$AIO_NAME\:develop-arm64 nextcloud/$AIO_NAME\:latest-arm64
36-
docker push nextcloud/$AIO_NAME\:latest-arm64
37-
```
23+
1. Verify that no job is running here: https://github.com/nextcloud-releases/all-in-one/actions/workflows/build_images.yml
24+
2. Go to https://github.com/nextcloud-releases/all-in-one/actions/workflows/promote-to-latest.yml, click on `Run workflow` and enter your desired container image name that you want to publish from develop to latest. Available image names are listed here: https://github.com/nextcloud-releases/all-in-one/blob/main/.github/workflows/build_images.yml#L21-L30

0 commit comments

Comments
 (0)