mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-03 17:44:49 +02:00
Provide version information through labels (#1256)
* Provide version information through labels Can be retrieved by calling e.g. `docker inspect -f {{.Config.Labels}} tvial/docker-mailserver:testing` Signed-off-by: Felix Bartels <felix@host-consultants.de> * add build hook so that Docker Hub can work with the build args Signed-off-by: Felix Bartels <felix@host-consultants.de> * remove obsolete build-no-cache build args invalidate build cache already Signed-off-by: Felix Bartels <felix@host-consultants.de> * adapt travis file Signed-off-by: Felix Bartels <felix@host-consultants.de> * shellcheck Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
1029777ffa
commit
7ff9764285
5 changed files with 30 additions and 11 deletions
|
@ -10,7 +10,7 @@ function teardown() {
|
|||
|
||||
function setup_file() {
|
||||
pushd test/docker-openldap/
|
||||
docker build -f Dockerfile -t ldap $DOCKER_MAIL_DOCKER_BUILD_NO_CACHE .
|
||||
docker build -f Dockerfile -t ldap --no-cache .
|
||||
popd
|
||||
|
||||
docker run -d --name ldap_for_mail \
|
||||
|
@ -219,4 +219,4 @@ function teardown_file() {
|
|||
|
||||
@test "last" {
|
||||
# this test is only there to reliably mark the end for the teardown_file
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue