Skip to content

Commit

Permalink
Add docker build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasHerve-Descours-Cabaud committed Mar 26, 2024
1 parent ce5bd07 commit afe25be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Connect to dockerhub
run: docker login -u ${{secrets.DOCKER_LOGIN}} -p ${{secrets.DOCKER_PASSWORD}}
- name: Build the Docker image
run: docker build . --file core/Dockerfile -t asymetric-unity-core
run: docker build . --file core/Dockerfile -t ${{secrets.DOCKER_LOGIN}}/asymetric-unity-core --output type=registry
1 change: 1 addition & 0 deletions core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./__pycache__
Binary file removed core/__pycache__/main.cpython-310.pyc
Binary file not shown.

0 comments on commit afe25be

Please sign in to comment.