From 9ad6ed3a3736c96602b0ee6453931bdaabe1123d Mon Sep 17 00:00:00 2001 From: Zuzana Miklankova Date: Tue, 1 Mar 2022 12:25:54 +0100 Subject: [PATCH] make action more generic and usable outside sclorg projects --- README.md | 4 ++-- action.yml | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5f2e4b4..a7b3879 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,10 @@ jobs: uses: sclorg/build-and-push-action@v1 with: registry: "quay.io" - registry_namespace: "sclorg" + registry_namespace: "namespace" registry_username: ${{ secrets.REGISTRY_LOGIN }} registry_token: ${{ secrets.REGISTRY_TOKEN }} dockerfile: "Dockerfile" dockerfile_path: "1.0" - tag: fedora + tag: "tag" ``` diff --git a/action.yml b/action.yml index 622c87b..e0827c0 100644 --- a/action.yml +++ b/action.yml @@ -40,13 +40,6 @@ inputs: runs: using: "composite" steps: - - name: Check if Action is run from sclorg repository - if: github.repository_owner != 'sclorg' - shell: bash - run: | - echo "This action can be run only for sclorg repositories" - exit 1 - - name: Checkout git uses: actions/checkout@v2 with: