2
0
Fork 0
mirror of https://github.com/redhat-actions/push-to-registry.git synced 2025-09-15 17:26:56 +00:00

Add feature to pass extra args when pushing image (#19)

If a user wants to pass few extra args to push
command when pushing image, then they can pass
using 'extra-args' input parameter.

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2021-02-08 20:07:42 +05:30 committed by GitHub
parent e7b5c08b38
commit 870f44bc9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 3 deletions

View file

@ -92,6 +92,8 @@ jobs:
registry: ${{ env.IMAGE_REGISTRY }}/${{ secrets.REGISTRY_USER }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
extra-args: |
--disable-content-trust
- name: Echo outputs
run: |