Skip to content

adding branch information #1

adding branch information

adding branch information #1

name: Dockerfile Version Check
on:
push:
branches:
- automate_version_check
workflow_dispatch:
schedule:
- cron: '*/2 * * * *' # Running every 2 minutes
jobs:
check-version:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./.github
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Install jq and curl
run: |
sudo apt-get update
sudo apt-get install -y jq curl
- name: Make the script files executable
run: chmod +x version_check.sh
- name: Run the scripts
run: |
./version_check.sh