<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>CloudBuild</anon>
    <anon>Docker</anon>
    <anon>CloudRun</anon>
  </categories>
  <description>前にGitHub ActionsでやっていたやつのCloud Build+Cloud Run版。 www.memory-lovers.blog Cloud RunだとDockerが絡むので、ちょっと面倒。。 全体の流れ Cloud Buildだと、環境変数($TAG_NAME)からタグ名を取得できる Cloud Runだとdocker buildしないといけない なので、docker build時に--build-argを使って、$TAG_NAMEをARGに引き渡す Dockerfile Dockerfileはこんな感じ。 ARG VERSION=latestで初期値を設定 FROM以後、AR…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2021%2F04%2F21%2F050000&quot; title=&quot; Cloud Build+Cloud Runでタグ名を環境変数に設定する - くらげになりたい。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-21 05:00:00</published>
  <title> Cloud Build+Cloud Runでタグ名を環境変数に設定する</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2021/04/21/050000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
