[llvm] [GitHub][docker] Fix 'FromAsCasing' violation in CI dockerfile (PR #161017)
Baranov Victor via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 27 12:49:41 PDT 2025
https://github.com/vbvictor updated https://github.com/llvm/llvm-project/pull/161017
>From 8f9c38d20ce902e6ea8817fdbc93662bace555c2 Mon Sep 17 00:00:00 2001
From: Victor Baranov <bar.victor.2002 at gmail.com>
Date: Sat, 27 Sep 2025 22:46:28 +0300
Subject: [PATCH] [GitHub][docker] Fix 'FromAsCasing' violation in CI
dockerfile
---
.github/workflows/containers/github-action-ci/Dockerfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/containers/github-action-ci/Dockerfile b/.github/workflows/containers/github-action-ci/Dockerfile
index 892fc9005de85..1d3f5f9c35d7f 100644
--- a/.github/workflows/containers/github-action-ci/Dockerfile
+++ b/.github/workflows/containers/github-action-ci/Dockerfile
@@ -1,7 +1,7 @@
-FROM docker.io/library/ubuntu:24.04 as base
+FROM docker.io/library/ubuntu:24.04 AS base
ENV LLVM_SYSROOT=/opt/llvm
-FROM base as stage1-toolchain
+FROM base AS stage1-toolchain
ENV LLVM_VERSION=21.1.1
RUN apt-get update && \
@@ -37,7 +37,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
RUN ninja -C ./build stage2-clang-bolt stage2-install-distribution && ninja -C ./build install-distribution
-FROM base as ci-container
+FROM base AS ci-container
COPY --from=stage1-toolchain $LLVM_SYSROOT $LLVM_SYSROOT
@@ -97,7 +97,7 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER gha
WORKDIR /home/gha
-FROM ci-container as ci-container-agent
+FROM ci-container AS ci-container-agent
ENV GITHUB_RUNNER_VERSION=2.328.0
More information about the llvm-commits
mailing list