This lab has been modernised but not yet verified end to end. Tell us if something breaks.
Building Apps with Compose
Lab Solution
The second part of the GitHub build uses the latest Docker Compose file:
- release.yml uses different image tags, with the
RELEASEenvironment variable but not theBUILD_NUMBERvariable the main Compose file uses
When you merge in the latest file it will build images with the tag 21.05, which is the version for this release of the app.
Consumers can use 21.05 to get the current build for this release, or e.g. 21.05-57 to get a specific build:
docker pull courselabs/rng-api:21.05
docker image ls courselabs/rng-apiThose two tags are aliases of the same image now, but with the next release the 21.05 tag will advance and will be an alias of the a later build.
Back to the exercises.