Skip to content

Commit

Permalink
Fix cosmetic issues in OCI docker
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Nov 21, 2024
1 parent 339291e commit 6c2bfd9
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci-oci-docker-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@ jobs:
steps:
- name: Determine Branch Name
run: |
BRANCH_NAME=$([ "${{ github.event_name }}" = "pull_request" ] && echo "${{ github.event.pull_request.head.ref }}" || \
[ "${{ github.event_name }}" = "repository_dispatch" ] && echo "${{ github.event.client_payload.branch }}" || \
echo "${GITHUB_REF#refs/heads/}")
case "${{ github.event_name }}" in
"pull_request")
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
;;
"repository_dispatch")
BRANCH_NAME="${{ github.event.client_payload.branch }}"
;;
*)
BRANCH_NAME="${GITHUB_REF#refs/heads/}"
;;
esac
echo "BRANCH_NAME=${BRANCH_NAME:-master}" >> $GITHUB_ENV
- name: Free Disk Space
Expand Down

0 comments on commit 6c2bfd9

Please sign in to comment.