Skip to content

Commit bf639a9

Browse files
committed
Updated GitHub Actions
1 parent 304b93e commit bf639a9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/release-artifacts.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,16 @@ jobs:
7777
- name: Log in to Docker Hub
7878
run: docker login -u amithkoujalgi -p ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
7979

80-
- name: Build and push Docker image
80+
- name: Build and push Docker image - as tag='latest'
81+
uses: docker/build-push-action@v5
82+
if: startsWith(github.ref, 'refs/tags/')
83+
with:
84+
context: .
85+
file: Dockerfile
86+
push: true
87+
tags: amithkoujalgi/ollama4j-web-ui:latest
88+
89+
- name: Build and push Docker image - as tag with release version number
8190
uses: docker/build-push-action@v5
8291
if: startsWith(github.ref, 'refs/tags/')
8392
with:

0 commit comments

Comments
 (0)