mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 10:29:00 +02:00
Merge pull request #530 from Marc-Berg/main
Changed the description on Docker Hub, sorted list of backup files
This commit is contained in:
4
.github/workflows/update-docker-readme.yml
vendored
4
.github/workflows/update-docker-readme.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USER }}
|
username: ${{ secrets.DOCKER_USER }}
|
||||||
password: ${{ secrets.DOCKER_PASS }}
|
password: ${{ secrets.DOCKER_PASS }}
|
||||||
repository: buanet/iobroker
|
repository: buanet/iobroker
|
||||||
short-description: Official Docker image for ioBroker based on Debian Bullseye slim
|
short-description: Official Docker image for ioBroker based on Debian Bookworm slim
|
||||||
readme-filepath: ./docs/README_docker_hub_buanet.md
|
readme-filepath: ./docs/README_docker_hub_buanet.md
|
||||||
|
|
||||||
- name: Update Docker Hub Readme (iobroker)
|
- name: Update Docker Hub Readme (iobroker)
|
||||||
@@ -29,5 +29,5 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKER_USER_IOB }}
|
username: ${{ secrets.DOCKER_USER_IOB }}
|
||||||
password: ${{ secrets.DOCKER_PASS_IOB }}
|
password: ${{ secrets.DOCKER_PASS_IOB }}
|
||||||
repository: iobroker/iobroker
|
repository: iobroker/iobroker
|
||||||
short-description: Official Docker image for ioBroker based on Debian Bullseye slim
|
short-description: Official Docker image for ioBroker based on Debian Bookworm slim
|
||||||
readme-filepath: ./docs/README_docker_hub_iobroker.md
|
readme-filepath: ./docs/README_docker_hub_iobroker.md
|
||||||
@@ -245,7 +245,7 @@ restore_iobroker() {
|
|||||||
|
|
||||||
# list backup files
|
# list backup files
|
||||||
backup_dir="/opt/iobroker/backups"
|
backup_dir="/opt/iobroker/backups"
|
||||||
backup_files=($(find $backup_dir -type f))
|
backup_files=($(find $backup_dir -type f | sort))
|
||||||
backup_count=${#backup_files[@]}
|
backup_count=${#backup_files[@]}
|
||||||
|
|
||||||
if [[ $backup_count -eq 0 ]]; then
|
if [[ $backup_count -eq 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user