Skip to content

Promote to beta

Promote to beta #73

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']
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 manifest create nextcloud/$AIO_NAME\:beta -a nextcloud/$AIO_NAME\:develop -a nextcloud/$AIO_NAME\:develop-arm64
docker manifest push nextcloud/$AIO_NAME\:beta
# arm64
docker manifest create nextcloud/$AIO_NAME\:beta-arm64 -a nextcloud/$AIO_NAME\:develop -a nextcloud/$AIO_NAME\:develop-arm64
docker manifest push nextcloud/$AIO_NAME\:beta-arm64
else
# amd64
docker manifest create nextcloud/$AIO_NAME\:beta -a nextcloud/$AIO_NAME\:develop
docker manifest push nextcloud/$AIO_NAME\:beta
fi