Skip to content

Commit

Permalink
add __main__ entrypoint and change docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
trewq34 committed Sep 6, 2022
1 parent 61f0f0c commit 395e9fc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
command: echo 'export VERSION='${CIRCLE_TAG:-$(cat setup.py | egrep -o "([0-9]+)\.([0-9]+)\.([0-9]+)")} >> $BASH_ENV
- run:
name: Build docker image
command: docker buildx build . --platform linux/arm64,linux/amd64 -t trewq34/auther-test:${VERSION} -t trewq34/auther-test:latest --push
command: docker buildx build . --platform linux/arm64,linux/amd64 -t trewq34/auther:${VERSION} -t trewq34/auther:latest --push
7 changes: 7 additions & 0 deletions auther/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from auther import cli

def main():
cli.app()

if __name__ == '__main__':
main()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="auther",
version="0.0.6-dev",
version="0.0.6-dev1",
author="Kamran Ali",
author_email="[email protected]",
description="Command line tool for AWS CLI authentication",
Expand Down

0 comments on commit 395e9fc

Please sign in to comment.