[llvm] [libc++] Adjust the docker-compose file for libc++ action builders (PR #116366)

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 16 02:57:21 PST 2024


https://github.com/ldionne updated https://github.com/llvm/llvm-project/pull/116366

>From d5b307a8b5db9116bb41d928e99aac07235a4e34 Mon Sep 17 00:00:00 2001
From: Louis Dionne <ldionne.2 at gmail.com>
Date: Sat, 16 Nov 2024 11:57:08 +0100
Subject: [PATCH] [libc++] Adjust docker image creation workflow

---
 .github/workflows/libcxx-build-containers.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/libcxx-build-containers.yml b/.github/workflows/libcxx-build-containers.yml
index 92b2e3056da9ac..2d040f712ce592 100644
--- a/.github/workflows/libcxx-build-containers.yml
+++ b/.github/workflows/libcxx-build-containers.yml
@@ -29,6 +29,8 @@ jobs:
   build-and-push:
     runs-on: ubuntu-latest
     if: github.repository_owner == 'llvm'
+    permissions:
+      packages: write
 
     steps:
     - uses: actions/checkout at v4
@@ -36,10 +38,14 @@ jobs:
     - name: Build the Linux builder image
       working-directory: libcxx/utils/ci
       run: docker compose build actions-builder
+      env:
+        TAG: ${{ github.sha }}
 
     # - name: Build the Android builder image
     #   working-directory: libcxx/utils/ci
     #   run: docker compose build android-buildkite-builder
+    #   env:
+    #     TAG: ${{ github.sha }}
 
     - name: Log in to GitHub Container Registry
       uses: docker/login-action at v3



More information about the llvm-commits mailing list