Skip to content

Commit 2de2e7a

Browse files
[Github] Fix build metrics container push (#118130)
This patch fixes a couple typos that were preventing the build metrics container job from pushing the container to GHCR.
1 parent b5132b7 commit 2de2e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-metrics-container.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
tag=`date +%s`
3737
container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/metrics"
38-
echo "container-name=$container-name" >> $GITHUB_OUTPUT
38+
echo "container-name=$container_name" >> $GITHUB_OUTPUT
3939
echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT
4040
echo "container-filename=$(echo $container_name:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
4141
- name: Build Container
@@ -71,7 +71,7 @@ jobs:
7171
name: container
7272
- name: Push Container
7373
run: |
74-
podman load -i ${{ needs.build-metrics-container.outptus.container-filename }}
74+
podman load -i ${{ needs.build-metrics-container.outputs.container-filename }}
7575
podman tag ${{ needs.build-metrics-container.outputs.container-name-tag }} ${{ needs.build-metrics-container.outputs.container-name }}:latest
7676
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
7777
podman push ${{ needs.build-metrics-container.outputs.container-name-tag }}

0 commit comments

Comments
 (0)