Skip to content

Commit

Permalink
ci: update aqua-registry-updater (#31256)
Browse files Browse the repository at this point in the history
* ci: update aqua-registry-updater

* style: format
  • Loading branch information
suzuki-shunsuke authored Jan 23, 2025
1 parent 7ffe3d0 commit b78fe2c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: Update packages by aqua-registry-updater
on:
workflow_dispatch: {}
workflow_dispatch:
inputs:
package:
type: string
description: "Package name"
default: ""
required: false
schedule:
- cron: "*/10 * * * *"

Expand Down Expand Up @@ -41,6 +47,14 @@ jobs:
"pull_requests": "write"
}
- run: aqua-registry-updater
if: inputs.package == ''
env:
AQUA_REGISTRY_UPDATER_CONTAINER_REGISTRY_TOKEN: ${{github.token}}
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

- run: aqua-registry-updater "$PKG"
if: inputs.package != ''
env:
AQUA_REGISTRY_UPDATER_CONTAINER_REGISTRY_TOKEN: ${{github.token}}
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}
PKG: ${{inputs.package}}
2 changes: 1 addition & 1 deletion pkgs/aquaproj/aqua-registry-updater/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
packages:
- name: aquaproj/[email protected]1
- name: aquaproj/[email protected]2

0 comments on commit b78fe2c

Please sign in to comment.