El nombre de la imagen sale de la carpeta del servicio y el Dockerfile depende de si es java o web.
Así se puede desplegar sin pom.xml y ubicar el Dockerfile en la raíz cuando el servicio es web.
This commit is contained in:
@@ -20,8 +20,10 @@ To push every service in one project, pass that project's list file to
|
||||
`./scripts/deploy-services.sh`. It runs `build-and-push.sh` once per path and
|
||||
reports any failures at the end. See `scripts/README.md` for the list format.
|
||||
|
||||
The script reads `artifactId` and `version` from `pom.xml` for the local build tag
|
||||
and image name, builds for `linux/amd64`, and verifies the deploy on the remote.
|
||||
The script uses the last directory of the service location as the image name
|
||||
and reads `version` from `pom.xml` for the local build tag (`1.0.0-SNAPSHOT`
|
||||
if there is no pom). It builds for `linux/amd64` and verifies the deploy on
|
||||
the remote.
|
||||
On the remote, durable tags are only:
|
||||
|
||||
- `<name>:latest` — always the most recent successful push
|
||||
|
||||
Reference in New Issue
Block a user