Skip to content

Commit 9710979

Browse files
committed
Update docker-publish.yml
1 parent 1a670ca commit 9710979

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,15 @@ jobs:
1515
with:
1616
username: ${{ secrets.DOCKER_USERNAME }}
1717
password: ${{ secrets.DOCKER_PASSWORD }}
18-
- name: Build and push Docker image
18+
- name: Build and push Docker image with latest tag
1919
uses: docker/build-push-action@v2
2020
with:
2121
context: .
2222
push: true
2323
tags: uugai/data-filter:latest
24+
- name: Build and push Docker image with release tag
25+
uses: docker/build-push-action@v2
26+
with:
27+
context: .
28+
push: true
29+
tags: uugai/data-filter:${{ github.ref_name }}

0 commit comments

Comments
 (0)