github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/scripts/docker/production/release.sh (about)

     1  #!/bin/bash
     2  set -xe
     3  
     4  RELEASE="$(git describe --tags)"
     5  
     6  docker build -t "cozy/cozy-stack:${RELEASE}" -f scripts/docker/production/Dockerfile .
     7  docker push "cozy/cozy-stack:${RELEASE}"
     8  docker tag "cozy/cozy-stack:${RELEASE}" "cozy/cozy-stack:latest"
     9  docker push "cozy/cozy-stack:latest"