mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-08 08:54:29 +01:00
de83cd9de7 tried to solve an issue, but it
clearly seems that I'm using env wrongly, as what ended up being passed
as input was "$VAR", instead of the content of the VAR variable.
As we can simply avoid using those here, let's do it and save us a
headache.
Fixes: #7247
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
21 lines
472 B
YAML
21 lines
472 B
YAML
name: Kata Containers Nightly CI
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
jobs:
|
|
set-fake-pr-number:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set fake PR number
|
|
run: |
|
|
echo "PR_NUMBER=$(date +%Y%m%d%H%M%S)" >> "$GITHUB_ENV"
|
|
|
|
kata-containers-ci-on-push:
|
|
needs: set-fake-pr-number
|
|
uses: ./.github/workflows/ci.yaml
|
|
with:
|
|
commit-hash: ${GITHUB_REF}
|
|
pr-number: ${PR_NUMBER}
|
|
tag: ${PR_NUMBER}-${GITHUB_REF}-nightly
|