Promote to beta #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promote to beta | |
on: | |
workflow_dispatch: | |
jobs: | |
promote_to_latest: | |
runs-on: ubuntu-latest | |
name: Promote from develop to beta | |
strategy: | |
fail-fast: false | |
matrix: | |
name: [ | |
'aio-apache', | |
'aio-borgbackup', | |
'aio-collabora', | |
'aio-domaincheck', | |
'all-in-one', | |
'aio-nextcloud', | |
'aio-notify-push', | |
'aio-postgresql', | |
'aio-redis', | |
'aio-talk', | |
'aio-watchtower', | |
'aio-clamav', | |
'aio-onlyoffice', | |
'aio-imaginary', | |
'aio-talk-recording', | |
'aio-fulltextsearch', | |
'aio-docker-socket-proxy', | |
'aio-whiteboard'] | |
steps: | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Promote images from develop to beta (create multiarch) | |
run: | | |
set -x | |
AIO_NAME=${{ matrix.name }} | |
set +x | |
if [ "$AIO_NAME" != "aio-clamav" ]; then | |
# create multiarch image | |
docker buildx imagetools create --tag nextcloud/$AIO_NAME\:beta nextcloud/$AIO_NAME\:develop nextcloud/$AIO_NAME\:develop-arm64 | |
# arm64 | |
docker buildx imagetools create --tag nextcloud/$AIO_NAME\:beta-arm64 nextcloud/$AIO_NAME\:develop nextcloud/$AIO_NAME\:develop-arm64 | |
else | |
# amd64 | |
docker buildx imagetools create --tag nextcloud/$AIO_NAME\:beta nextcloud/$AIO_NAME\:develop | |
fi |