以下の内容はhttps://donbulinux.hatenablog.jp/entry/2025/02/25/190556より取得しました。


The 'as' keyword should match the case of the 'from' keyword

actions/cache@v2 が廃止されるので、ついでに色々サボってた actions のアップデートをしていたら、 ビルドのトコで掲題の通り警告が出るようになっていた。

The 'as' keyword should match the case of the 'from' keyword: docker/Dockerfile#L1 FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

docs.docker.com

上記リンク先にも書いてあるけど、こういうやつがダメらしい。

- FROM ruby:3.1.4-bullseye as build
+ FROM ruby:3.1.4-bullseye AS build

...

は〜なるほどね。

ちなみにずっと workflow 用の yaml ファイルを見てて「どこにも FROM ... AS... なんて書いてないんだけどどこでダメになってんだ?」と悩んでいました。

元になる Dockerfile 側でしたね……。




以上の内容はhttps://donbulinux.hatenablog.jp/entry/2025/02/25/190556より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14