Skip to content

Commit

Permalink
Fix typo in github.event
Browse files Browse the repository at this point in the history
  • Loading branch information
palinatolmach committed Dec 13, 2024
1 parent aa2db22 commit 12be301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- name: 'Check out code'
uses: actions/checkout@v4
with:
ref: ${{ github.events.inputs.kontrol_branch}}
ref: ${{ github.event.inputs.kontrol_branch}}
fetch-depth: 0

- name: 'Set environment'
run: |
KONTROL_VERSION=$(cat package/version)
echo "CONTAINER_NAME=kontrol-ci-docker-${GITHUB_SHA}" >> ${GITHUB_ENV}
BRANCH_NAME="${{ github.events.inputs.kontrol_branch }}"
BRANCH_NAME="${{ github.event.inputs.kontrol_branch }}"
SANITIZED_BRANCH_NAME=$(echo "${BRANCH_NAME}" | tr '/' '-' | tr -cd '[:alnum:]-_.')
GHCR_TAG=ghcr.io/runtimeverification/kontrol/kontrol:ubuntu-jammy-${SANITIZED_BRANCH_NAME}
echo "GHCR_TAG=${GHCR_TAG}" >> ${GITHUB_ENV}
Expand Down

0 comments on commit 12be301

Please sign in to comment.