Update bitnami-dockers #68
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 bitnami-dockers | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 1 */2 *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- run: pip install -r requirements.txt | |
- name: Update module | |
run: | | |
sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin | |
task upgrade | |
git config --global user.name "GitHub Action" | |
git config --global user.email "[email protected]" | |
go run main.go list | |
git diff HEAD > diff.txt | |
cat diff.txt | |
git status | |
git commit -am "Automated Update" | |
git push |