Skip to content

Update packages by aqua-registry-updater #27080

Update packages by aqua-registry-updater

Update packages by aqua-registry-updater #27080

Workflow file for this run

---
name: Update packages by aqua-registry-updater
on:
workflow_dispatch: {}
schedule:
- cron: "*/10 * * * *"
env:
AQUA_GLOBAL_CONFIG: ${{ github.workspace }}/aqua-all.yaml
AQUA_LOG_COLOR: always
AQUA_CONFIG: ${{ github.workspace }}/aqua/update.yaml
jobs:
update-pkgs:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: aquaproj/aqua-installer@7c7338067bdb97d5bea2acc82b5870afca470d18 # v2.3.0
with:
aqua_version: v2.23.1
policy_allow: "true"
aqua_opts: -l -a
env:
AQUA_GITHUB_TOKEN: ${{github.token}}
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
with:
app_id: ${{secrets.APP_ID}}
private_key: ${{secrets.APP_PRIVATE_KEY}}
- run: aqua-registry-updater
env:
AQUA_REGISTRY_UPDATER_CONTAINER_REGISTRY_TOKEN: ${{github.token}}
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}