mirror of
https://github.com/inspec/inspec
synced 2024-11-25 14:10:25 +00:00
79ad513a39
* Build and tag docker image via Expeditor In order to provide Docker images of all unstable, current, and stable builds of InSpec, and to avoid having to manually publish Docker images each time we release InSpec, Expeditor will now take care of this for us. Signed-off-by: Adam Leff <adam@leff.co>
13 lines
412 B
Bash
Executable file
13 lines
412 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# This file updates the default VERSION build argument in the Dockerfile to the
|
|
# VERSION passed in to the file via environment variables.
|
|
#
|
|
# This ensures the Dockerfile in inspec master will list the version of the latest
|
|
# stable release for any community member who wishes to build their own container
|
|
# from scratch.
|
|
#
|
|
|
|
set -evx
|
|
|
|
sed -i -r "s/^ARG VERSION=.*/ARG VERSION=${VERSION}/" Dockerfile
|