aviso-server 0.6.2

Notification service for data-driven workflows with live and replay APIs.
apiVersion: skaffold/v4beta2
kind: Config
metadata:
  name: aviso_server
build:
  local:
    useBuildkit: true
    concurrency: 1

  tagPolicy:
    customTemplate:
      # Use the CARGO_VERSION and TARGETARCH environment variables to tag the image
      # We will build multi-arch images, so we need to tag them with the target architecture
      template: "{{.CARGO_VERSION}}-{{.TARGETARCH}}"
      components:
        - name: CARGO_VERSION
          envTemplate:
            template: '{{.CARGO_VERSION}}'
        - name: TARGETARCH
          envTemplate:
            template: '{{.TARGETARCH}}'

  artifacts:
    - image: "aviso_server"
      context: .
      docker:
        dockerfile: Dockerfile
        target: release
        buildArgs:
          VERSION: "{{.CARGO_VERSION}}"
          CARGO_FEATURES: "ecpds"

    - image: "aviso_server-debug"
      context: .
      docker:
        dockerfile: Dockerfile
        target: debug
        buildArgs:
          VERSION: "{{.CARGO_VERSION}}"
          CARGO_FEATURES: "ecpds"