Skip to content

Commit

Permalink
Merge pull request #6 from zmiklank/make_action_more_generic
Browse files Browse the repository at this point in the history
make action more generic and usable outside sclorg projects
  • Loading branch information
phracek authored Mar 17, 2022
2 parents 5fd61b4 + 9ad6ed3 commit cce1fb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```
7 changes: 0 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cce1fb8

Please sign in to comment.