[llvm] workflows/build-ci-container: Fix typo in variable (PR #119943)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 18:28:58 PST 2024


https://github.com/tstellar updated https://github.com/llvm/llvm-project/pull/119943

>From ad78856cb5c814ec7693edb63c9a2e4815329310 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 13 Dec 2024 18:20:34 -0800
Subject: [PATCH 1/2] workflows/build-ci-container: Fix typo in variable

This was preventing the containers from being pushed to the registry.
---
 .github/workflows/build-ci-container.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index f037a91f6e5d01..022aa930051837 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -80,7 +80,7 @@ jobs:
 
       - name: Push Container
         run: |
-          podman load -i ${{ needs.build-ci-container.outptus.container-filename }}
+          podman load -i ${{ needs.build-ci-container.outputs.container-filename }}
           podman tag ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}:latest
           podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
           podman push ${{ needs.build-ci-container.outputs.container-name-tag }}

>From d952965f7c4795614abaeeaef32f1650a678f511 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 13 Dec 2024 18:28:51 -0800
Subject: [PATCH 2/2] Update .github/workflows/build-ci-container.yml

---
 .github/workflows/build-ci-container.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build-ci-container.yml b/.github/workflows/build-ci-container.yml
index 022aa930051837..23bbb6ddef9e6e 100644
--- a/.github/workflows/build-ci-container.yml
+++ b/.github/workflows/build-ci-container.yml
@@ -81,7 +81,7 @@ jobs:
       - name: Push Container
         run: |
           podman load -i ${{ needs.build-ci-container.outputs.container-filename }}
-          podman tag ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}:latest
+          podman tag ${{ needs.build-ci-container.outputs.container-name-tag }} ${{ needs.build-ci-container.outputs.container-name }}:latest
           podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
           podman push ${{ needs.build-ci-container.outputs.container-name-tag }}
           podman push ${{ needs.build-ci-container.outputs.container-name }}:latest



More information about the llvm-commits mailing list