message: CI: Remove optional target from docker-publish step
  The old nightlies used a partial build (which is the purpose of
  the --target flag), but they were removed in PR (commit
  f772f66cfcb59e57d43bdd0419baf5a5ee96228e).
diff: @@ -100,10 +100,6 @@ jobs:
  docker_context:
  description: Docker build context
  type: string
  - target:
  - description: Docker build target
  - type: string
  - default: ""
  registry:
  description: Docker registry
  type: string
  @@ -125,23 +121,6 @@ jobs:
  - run: cat /etc/netplan/50-cloud-init.yaml
  - run: sudo netplan apply
  - checkout
  - - when:
  - condition: <<parameters.target>>
  - steps:
  - - run:
  - name: Build with context
  - command: |
  - echo "$DOCKER_HUB_READ_ONLY_TOKEN" | docker login -u "$DOCKER_HUB_READ_ONLY_USER" --password-stdin
  - IMAGE_BASE="<<parameters.registry>>/<<parameters.repo>>/<<parameters.docker_name>>"
  - DOCKER_TAGS=$(echo -ne <<parameters.docker_tags>> | sed "s/,/\n/g" | sed "s/[^a-zA-Z0-9\n]/-/g" | sed -e "s|^|-t ${IMAGE_BASE}:|")
  - docker build \
  - $(echo -ne $DOCKER_TAGS | tr '\n' ' ') \
  - -f <<parameters.docker_file>> \
  - --target <<parameters.target>> \
  - <<parameters.docker_context>>
  - - unless:
  - condition: <<parameters.target>>
  - steps:
  - run:
  name: Build
  command: |
  