0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-26 08:48:50 +00:00
crazy-max_diun/UPGRADE.md
2020-05-26 23:40:25 +02:00

1.2 KiB

Upgrade notes

2.x > 3.x

1.x > 2.x

image field has been moved to providers.static in configuration file:

1.x

image:
  - name: docker.io/crazymax/diun
    watch_repo: true
    max_tags: 10

2.x

providers:
  static:
    - name: docker.io/crazymax/diun
      watch_repo: true
      max_tags: 10

See providers configuration for more info.

0.x > 1.x

Some fields in configuration file has been changed:

  • registries renamed regopts
  • items renamed image
  • items[].image renamed image[].name
  • items[].registry_id renamed image[].regopts_id
  • watch.os and watch.arch moved to image[].os and image[].arch

0.x

watch:
  os: linux
  arch: amd64

registries:
  someregistryoptions:
    username: foo
    password: bar
    timeout: 20

items:
  - image: docker.io/crazymax/nextcloud:latest
    registry_id: someregistryoptions

1.x

regopts:
  someregistryoptions:
    username: foo
    password: bar
    timeout: 20

image:
  - name: docker.io/crazymax/nextcloud:latest
    regopts_id: someregistryoptions
    os: linux
    arch: amd64