Skip to content

Commit

Permalink
Deploying to gh-pages from @ 28033ff 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalHaluza committed May 23, 2024
1 parent 3d3159a commit cfb05b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _modules/pubtools/_quay/tag_docker.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ <h1>Source code for pubtools._quay.tag_docker</h1><div class="highlight"><pre>

<span class="n">manifest_type</span> <span class="o">=</span> <span class="n">manifest</span><span class="p">[</span><span class="s2">&quot;mediaType&quot;</span><span class="p">]</span>
<span class="k">if</span> <span class="n">manifest_type</span> <span class="ow">not</span> <span class="ow">in</span> <span class="p">[</span><span class="n">TagDocker</span><span class="o">.</span><span class="n">MANIFEST_V2S2_TYPE</span><span class="p">,</span> <span class="n">TagDocker</span><span class="o">.</span><span class="n">MANIFEST_LIST_TYPE</span><span class="p">]:</span>
<span class="k">raise</span> <span class="n">BadPushItem</span><span class="p">(</span><span class="s2">&quot;Image </span><span class="si">{0}</span><span class="s2"> has manifest type different than V2S2 or manifest list&quot;</span><span class="p">)</span>
<span class="k">raise</span> <span class="n">BadPushItem</span><span class="p">(</span>
<span class="s2">&quot;Image </span><span class="si">{0}</span><span class="s2"> has manifest type different than V2S2 or manifest list&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">reference</span><span class="p">)</span>
<span class="p">)</span>

<span class="c1"># Check arch if the image is V2S2 manifest</span>
<span class="k">if</span> <span class="n">manifest</span><span class="p">[</span><span class="s2">&quot;mediaType&quot;</span><span class="p">]</span> <span class="o">==</span> <span class="n">TagDocker</span><span class="o">.</span><span class="n">MANIFEST_V2S2_TYPE</span><span class="p">:</span>
Expand Down

0 comments on commit cfb05b5

Please sign in to comment.