File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 run : |
7171 cat build/Dockerfile.prefix > Dockerfile
7272 cat "flavour/${{ matrix.flavour.name }}/Dockerfile.flavour" >> Dockerfile
73- cat build/Dockerfile.suffix >> Dockerfile
73+
74+ # Download mo
75+ curl -sSL https://raw.githubusercontent.com/tests-always-included/mo/master/mo -o mo
76+ chmod +x mo
77+
78+ export BUILD_DATE=$(date -Ins)
79+
80+ cat build/Dockerfile.suffix | ./mo >> Dockerfile
81+
82+ rm mo
83+ env :
84+ FLAVOUR : " ${{ matrix.flavour.name }}"
7485
7586 - name : Clean up Docker
7687 run : |
Original file line number Diff line number Diff line change @@ -24,3 +24,14 @@ USER cloudcontrol
2424ENTRYPOINT ["/usr/local/bin/cloudcontrol"]
2525WORKDIR /home/cloudcontrol
2626CMD ["serve"]
27+
28+ # Labels
29+
30+ LABEL io.artifacthub.package.readme-url=https://github.com/dodevops/cloudcontrol
31+ LABEL org.opencontainers.image.created={{BUILD_DATE}}
32+ LABEL org.opencontainers.image.description="The cloud engineer's toolbox - {{FLAVOUR}} flavour"
33+ LABEL org.opencontainers.image.documentation=https://github.com/dodevops/cloudcontrol
34+ LABEL org.opencontainers.image.source=https://github.com/dodevops/cloudcontrol
35+ LABEL org.opencontainers.image.title="cloudcontrol-{{FLAVOUR}}"
36+ LABEL org.opencontainers.image.url=https://github.com/dodevops/cloudcontrol
37+ LABEL org.opencontainers.image.vendor="DO! DevOps"
You can’t perform that action at this time.
0 commit comments