Skip to content

Commit

Permalink
[Github] Fix build metrics container push (#118130)
Browse files Browse the repository at this point in the history
This patch fixes a couple typos that were preventing the build metrics
container job from pushing the container to GHCR.
  • Loading branch information
boomanaiden154 authored Nov 29, 2024
1 parent b5132b7 commit 2de2e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-metrics-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
tag=`date +%s`
container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/metrics"
echo "container-name=$container-name" >> $GITHUB_OUTPUT
echo "container-name=$container_name" >> $GITHUB_OUTPUT
echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT
echo "container-filename=$(echo $container_name:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
- name: Build Container
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
name: container
- name: Push Container
run: |
podman load -i ${{ needs.build-metrics-container.outptus.container-filename }}
podman load -i ${{ needs.build-metrics-container.outputs.container-filename }}
podman tag ${{ needs.build-metrics-container.outputs.container-name-tag }} ${{ needs.build-metrics-container.outputs.container-name }}:latest
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
podman push ${{ needs.build-metrics-container.outputs.container-name-tag }}
Expand Down

0 comments on commit 2de2e7a

Please sign in to comment.