We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afca209 commit b4ee119Copy full SHA for b4ee119
1 file changed
.github/workflows/docker-image.yml
@@ -2,9 +2,8 @@ name: Build and Push Docker Image
2
3
on:
4
push:
5
- branches: [ main ]
6
- pull_request:
7
+ tags:
+ - '*'
8
9
jobs:
10
build-and-push:
@@ -28,4 +27,6 @@ jobs:
28
27
with:
29
context: .
30
push: true
31
- tags: solutionforest/simple-docker-agent:latest
+ tags: |
+ solutionforest/simple-docker-agent:${{ github.ref_name }}
32
+ solutionforest/simple-docker-agent:latest
0 commit comments