mirror of
https://github.com/mcuadros/ascode
synced 2024-11-26 06:01:08 +01:00
deploy: 0dc73c5d1cdfce887c2013b77f55368cb229d50f
This commit is contained in:
parent
dfb91d36e9
commit
c81f8b544c
@ -13,7 +13,7 @@ strings, like in this case to <code>base64</code> or to make HTTP requests.</p><
|
||||
<span class=k>print</span><span class=p>(</span><span class=n>msg</span><span class=o>.</span><span class=n>body</span><span class=p>())</span>
|
||||
</code></pre></div><h3 id=output>Output</h3><div class=highlight><pre class=chroma><code class=language-sh data-lang=sh>ascode is amazing
|
||||
</code></pre></div><h2 id=advanced-modules>Advanced Modules</h2><p>Also, AsCode has some more specif modules, like the <code>docker</code> module. The
|
||||
docker modules allow you to manipulate docker image names.</p><div class=highlight><pre class=chroma><code class=language-python data-lang=python><span class=n>load</span><span class=p>(</span><span class=s2>"experimental/docker"</span><span class=p>,</span> <span class=s2>"docker"</span><span class=p>)</span>
|
||||
docker modules allow you to manipulate docker image names.</p><div class=highlight><pre class=chroma><code class=language-python data-lang=python><span class=n>load</span><span class=p>(</span><span class=s2>"docker"</span><span class=p>,</span> <span class=s2>"docker"</span><span class=p>)</span>
|
||||
</code></pre></div><p>A docker image tag can be defined using semver, instead of using the infamous
|
||||
‘latest’ tag, or fixing a particular version. This allows us to be up-to-date
|
||||
without breaking our deployment.</p><div class=highlight><pre class=chroma><code class=language-python data-lang=python><span class=n>golang</span> <span class=o>=</span> <span class=n>docker</span><span class=o>.</span><span class=n>image</span><span class=p>(</span><span class=s2>"golang"</span><span class=p>,</span> <span class=s2>"1.13.x"</span><span class=p>)</span>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
5
docs/reference/docker/index.html
Normal file
5
docs/reference/docker/index.html
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user