Skip to content

Commit

Permalink
Add latest docker image (#1113)
Browse files Browse the repository at this point in the history
* Add support for building a latest docker image to GHA workflow file

* Address nit; remove extraneous spaces
  • Loading branch information
rahul-tuli committed Jul 11, 2023
1 parent 3f9ff51 commit 4962080
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build-and-publish-tagged-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,19 @@ jobs:
run: |
echo ${{ steps.extract_tag.outputs.tag }}
- name: Build and push deepsparse with all dependencies
- name: Build and push deepsparse latest with all dependencies
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: docker/build-push-action@v2
with:
context: ./docker
build-args: |
DEPS=all
VERSION=${{ steps.extract_tag.outputs.tag }}
push: true
tags: |
ghcr.io/neuralmagic/deepsparse:latest
- name: Build and push deepsparse with all dependencies
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 4962080

Please sign in to comment.