version: '3.7' services: main: image: registry.verdnatura.es/mylogger:${VERSION:-latest} build: context: . dockerfile: Dockerfile args: - VERSION=${VERSION:?}