Skip to content

Commit b4ee119

Browse files
authored
Update docker-image.yml
1 parent afca209 commit b4ee119

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Build and Push Docker Image
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
5+
tags:
6+
- '*'
87

98
jobs:
109
build-and-push:
@@ -28,4 +27,6 @@ jobs:
2827
with:
2928
context: .
3029
push: true
31-
tags: solutionforest/simple-docker-agent:latest
30+
tags: |
31+
solutionforest/simple-docker-agent:${{ github.ref_name }}
32+
solutionforest/simple-docker-agent:latest

0 commit comments

Comments
 (0)