File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7575 curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo
7676 chmod +x mo
7777
78- cat build/Dockerfile.suffix.mo | BUILD_DATE=$(date -Ins ) FLAVOUR=${{ matrix.flavour.name }} ./mo > build/Dockerfile.suffix
78+ cat build/Dockerfile.suffix.mo | BUILD_DATE=$(date -Iseconds ) FLAVOUR=${{ matrix.flavour.name }} ./mo > build/Dockerfile.suffix
7979
8080 cat build/Dockerfile.suffix >> Dockerfile
8181
Original file line number Diff line number Diff line change 8484 curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo
8585 chmod +x mo
8686
87- cat build/Dockerfile.suffix.mo | BUILD_DATE=$(date -Ins ) FLAVOUR=${{ matrix.flavour }} ./mo > build/Dockerfile.suffix
87+ cat build/Dockerfile.suffix.mo | BUILD_DATE=$(date -Iseconds ) FLAVOUR=${{ matrix.flavour }} ./mo > build/Dockerfile.suffix
8888
8989 cat build/Dockerfile.suffix >> Dockerfile
9090
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ for FLAVOUR in ${FLAVOURS}
2727do
2828 cat build/Dockerfile.prefix > Dockerfile
2929 cat " flavour/${FLAVOUR} /Dockerfile.flavour" >> Dockerfile
30- cat build/Dockerfile.suffix >> Dockerfile
30+ cat build/Dockerfile.suffix.mo | docker run --rm -i -e FLAVOUR= ${FLAVOUR} -e BUILD_DATE= $( date -Iseconds ) metal3d/mo >> Dockerfile
3131 docker build --pull . -t " ghcr.io/dodevops/cloudcontrol-${FLAVOUR} :${TAG} "
3232done
3333
You can’t perform that action at this time.
0 commit comments