Update internal base images #5787
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update internal base images | |
on: | |
schedule: | |
- cron: '30 0,4,8,12,16,20 * * *' | |
workflow_dispatch: | |
jobs: | |
update-docker-files: | |
if: ${{ github.repository == 'demisto/dockerFiles' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v8 | |
- name: run | |
run: | | |
git config --global user.email "" | |
git config --global user.name "auto dockerfiles update" | |
echo "==== $(date): Starting pipenv setup... ====" | |
python -m pip install --upgrade pip | |
pip install pipenv==2023.3.18 | |
pipenv install | |
echo "==== Finished ====" | |
pipenv run python ./utils/auto_dockerfile_update/update_dockerfiles.py -t internal | |
echo "Done!" |