Skip to content

Commit

Permalink
Updated GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amithkoujalgi committed Nov 8, 2024
1 parent 304b93e commit bf639a9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,16 @@ jobs:
- name: Log in to Docker Hub
run: docker login -u amithkoujalgi -p ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

- name: Build and push Docker image
- name: Build and push Docker image - as tag='latest'
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
context: .
file: Dockerfile
push: true
tags: amithkoujalgi/ollama4j-web-ui:latest

- name: Build and push Docker image - as tag with release version number
uses: docker/build-push-action@v5
if: startsWith(github.ref, 'refs/tags/')
with:
Expand Down

0 comments on commit bf639a9

Please # to comment.