Skip to content

Commit

Permalink
fix: remove default registry/namespace flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hhyasdf committed Jul 18, 2023
1 parent 166dac0 commit 70c9520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.idea
10 changes: 2 additions & 8 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ inputs:
description: "The --images parameter of image-syncer, images file path. This flag need to be pair used with --auth"
default: "./images.yaml"
required: true
default_namespace:
description: "The --namespace parameter of image-syncer, default destination namespace when destination namespace is not given in the config file, can also be set with DEFAULT_NAMESPACE environment value"
required: false
default_registry:
description: "The --registry parameter of image-syncer, default destination registry url when destination registry is not given in the config file, can also be set with DEFAULT_REGISTRY environment value"
required: false
arch:
description: "The --arch parameter of image-syncer, architecture list to filter source tags, not works for OCI media"
required: false
Expand All @@ -38,6 +32,6 @@ runs:
- id: download
run: ${{ github.action_path }}/download.sh ${{ inputs.version }}
shell: bash
- id: excute
run: ./image-syncer --auth=${{ inputs.auth_file }} --images=${{ inputs.images_file }} --namespace=${{ inputs.default_namespace }} --registry=${{ inputs.default_registry }} --arch=${{ inputs.arch }} --os=${{ inputs.os }} --proc=${{ inputs.proc }} --retries=${{ inputs.retries }}
- id: execute
run: ./image-syncer --auth=${{ inputs.auth_file }} --images=${{ inputs.images_file }} --arch=${{ inputs.arch }} --os=${{ inputs.os }} --proc=${{ inputs.proc }} --retries=${{ inputs.retries }}
shell: bash

0 comments on commit 70c9520

Please sign in to comment.