Bump images #139
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: Bump images | |
on: | |
schedule: | |
- cron: "0 6 * * *" | |
# Allow to run this workflow manually | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
bump-chainguard-images: | |
runs-on: ubuntu-latest | |
steps: | |
- name: bump nginx image | |
uses: digitalservicebund/github-actions/bump-chainguard-digest@961e1cd525f8af56785a024bafc2b3b6a2f7449a | |
with: | |
image_name: nginx | |
file_path: frontend/Dockerfile.prod | |
github_token: ${{ github.token }} | |
- name: bump redis image | |
uses: digitalservicebund/github-actions/bump-chainguard-digest@961e1cd525f8af56785a024bafc2b3b6a2f7449a | |
with: | |
image_name: redis | |
file_path: compose.yaml | |
github_token: ${{ github.token }} | |
trigger-pipeline: | |
needs: bump-chainguard-images | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- run: gh workflow run pipeline.yml | |
env: | |
GH_TOKEN: ${{ github.token }} |