Websoft9 / docker-library

Docker Compose examples of selfhosted FOSS based on official image, just run it.
https://www.websoft9.com
Other
31 stars 14 forks source link

action docker.yml adapt Label changed #551

Closed chendelin1982 closed 5 months ago

chendelin1982 commented 6 months ago

Describe the bug

old version Label

LABEL version="16.0"

new version label

LABEL org.opencontainers.image.authors="https://www.websoft9.com" \
      org.opencontainers.image.description="Odoo image for ARM powered by Websoft9" \
      org.opencontainers.image.source="https://github.com/Websoft9/docker-library/tree/main/apps/odoo" \
      org.opencontainers.image.title="Odoo" \
      org.opencontainers.image.vendor="Websoft9 Inc." \
      org.opencontainers.image.version="16.0"

docker.yml should adapt it

    - name: Prepare tags and files for Docker build
      run: |
        APP=${{ matrix.app }}
        TAG=$(grep 'LABEL version' "apps/$APP/Dockerfile" | cut -d'"' -f2 | xargs)