We need to specify the platform key in the docker compose file so that we build images for the correct platform for the aws ECS.
Details
docker compose build, check if the image was built
Diff Detail
- Repository
- rCOMM Comm
- Branch
- michal/update-server-release-fixes
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
docker compose build, check if the image was built
To make sure the platform is correct, you can use the following command
docker inspect commapp/electron-update-server:2.0 -f "{{.Os}}/{{.Architecture}}"
services/electron-update-server/docker-compose.yml | ||
---|---|---|
4 | I've already published 2.0. Should we bump this to 3.0? |
services/electron-update-server/docker-compose.yml | ||
---|---|---|
4 | Unlike npm, you can publish again with the same tag (overwrite the image). You can also delete image with specific tag on DockerHub (it is safe if it wasn't ever pulled).
IMO this applies more to other services than to this one - I assume that when CI will be auto-deploying staging services, it should use some constant tag like "staging" - bumping version tag with every commit doesn't make sense Generally, the tag/version policy depends on us, it is supposed to be helpful, not to limit. | |
4 |
I'd go with overwriting 2.0 if it wasn't ever used |
docker inspect commapp/electron-update-server:2.0 -f "{{.Os}}/{{.Architecture}}"
Tested, it returned linux/amd64 as expected.