message: chore: add tag latest to pipeline
diff: @@ -133,6 +133,23 @@ jobs:
  docker tag "${DOCKER_IMAGE_NAME}:${CIRCLE_SHA1}" "${DOCKER_IMAGE_NAME}:latest"
  docker push "${DOCKER_IMAGE_NAME}:latest"
  fi
  + tag-latest-docker:
  + <<: *base_env
  + docker:
  + - image: circleci/node:10-browsers
  + environment: &ENVIRONMENT
  + DOCKER_IMAGE_NAME: decentraland/katalyst
  + steps:
  + - <<: *attach_root
  + - setup_remote_docker: { docker_layer_caching: true }
  + - run:
  + name: Log into DockerHub
  + command: docker login -u "${DOCKER_USER}" -p "${DOCKER_PASS}"
  + - run:
  + name: Tag image
  + command: |
  + docker tag "${DOCKER_IMAGE_NAME}:${CIRCLE_SHA1}" "${DOCKER_IMAGE_NAME}:latest"
  + docker push "${DOCKER_IMAGE_NAME}:latest"
  workflows:
  version: 2
  @@ -173,11 +190,24 @@ workflows:
  - accept-publish-peer
  # publish docker image
  - - publish-docker:
  + - accept-publish-docker:
  <<: *master_and_tags
  + type: approval
  requires:
  - - checkout
  - build-peer
  - build-lighthouse
  - build-content
  - build-lambdas
  + - publish-docker:
  + <<: *master_and_tags
  + requires:
  + - accept-publish-docker
  + - accept-tag-latest-docker:
  + <<: *master_and_tags
  + type: approval
  + requires:
  + - publish-docker
  + - tag-latest-docker:
  + <<: *master_and_tags
  + requires:
  + - accept-tag-latest-docker
  