diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index cfed49bd923..7c7e64d815e 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -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 * * * *" @@ -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}} diff --git a/pkgs/aquaproj/aqua-registry-updater/pkg.yaml b/pkgs/aquaproj/aqua-registry-updater/pkg.yaml index 33f493cb710..dd73c88b55c 100644 --- a/pkgs/aquaproj/aqua-registry-updater/pkg.yaml +++ b/pkgs/aquaproj/aqua-registry-updater/pkg.yaml @@ -1,2 +1,2 @@ packages: - - name: aquaproj/aqua-registry-updater@v0.1.5-1 + - name: aquaproj/aqua-registry-updater@v0.1.5-2