Skip to content

Commit ff74bb0

Browse files
[CI] Minor fixes in operation metris container build
1. Do not restrict pull request branch to allow hacking on in stacked PRs. 2. Remove some extra new lines at the bottom. 3. Rename the push job to better reflect the current context rather than where the job was copied from.
1 parent 5173a8b commit ff74bb0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ on:
1111
- .github/workflows/build-operations-metrics-container.yml
1212
- 'llvm-ops-metrics/ops-container/**'
1313
pull_request:
14-
branches:
15-
- main
1614
paths:
1715
- .github/workflows/build-operations-metrics-container.yml
1816
- 'llvm-ops-metrics/ops-container/**'
@@ -55,7 +53,7 @@ jobs:
5553
path: ${{ steps.vars.outputs.container-filename }}
5654
retention-days: 14
5755

58-
push-metrics-container:
56+
push-operations-metrics-container:
5957
if: github.event_name == 'push'
6058
needs:
6159
- build-operations-metrics-container
@@ -76,4 +74,3 @@ jobs:
7674
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
7775
podman push ${{ needs.build-operations-metrics-container.outputs.container-name-tag }}
7876
podman push ${{ needs.build-operations-metrics-container.outputs.container-name }}:latest
79-

0 commit comments

Comments
 (0)