2525 push :
2626 branches :
2727 - main
28- - ' releases/**'
28+ - ' release/*'
29+ tags :
30+ - ' v*.*.*'
31+ - ' v*.*.*-*'
2932 # Runs automatically on all code-related PRs to main and release branches
3033 pull_request :
3134 branches :
3235 - main
33- - ' releases/* *'
36+ - ' release/ *'
3437 paths-ignore :
3538 - ' charts/**'
3639 - ' docs/**'
3740 - ' **/*.md'
38- # Can be scheduled on all branches and version tags
41+ # Manual workflow trigger
3942 workflow_dispatch :
40- tags :
41- - ' v*.*.*'
42- - ' v*.*.*-*'
43- branches :
44- - ' *'
4543
4644# the docker registry and namespace
4745env :
7371 # Setup build environment
7472 - uses : ./.github/actions/setup-java
7573
76- # Enabled deployment access (if either running on main or a version tag on eclipse-tractusx)
74+ # Enabled deployment access (if either running on main or a version tag on eclipse-tractusx)
7775 - name : Login to GitHub Container Registry
7876 if : ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
7977 uses : docker/login-action@v2
8280 username : ${{ secrets.DOCKER_HUB_USER }}
8381 password : ${{ secrets.DOCKER_HUB_TOKEN }}
8482
85- # Run Maven Deploy (if either running on main or a version tag on eclipse-tractusx)
83+ # Run Maven Deploy (if either running on main or a version tag on eclipse-tractusx)
8684 - name : Deploy Java via Maven
8785 if : ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && ( github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) }}
8886 run : |
@@ -107,15 +105,15 @@ jobs:
107105 with :
108106 images : |
109107 ${{ env.IMAGE_NAMESPACE }}/agentplane-hashicorp
110- # Automatically prepare image tags; See action docs for more examples.
108+ # Automatically prepare image tags; See action docs for more examples.
111109 # semver patter will generate tags like these for example :1 :1.2 :1.2.3
112110 tags : |
113111 type=sha,event=branch
114112 type=sha,event=pr
115113 type=semver,pattern={{version}}
116114 type=semver,pattern={{major}}
117115 type=semver,pattern={{major}}.{{minor}}
118- type=raw,value=1.9.5-SNAPSHOT ,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
116+ type=raw,value=1.9.8 ,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
119117 type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
120118
121119 - name : Agent Plane Hashicorp Container Build and push
@@ -133,7 +131,7 @@ jobs:
133131 if : ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && github.ref == 'refs/heads/main' }}
134132 uses : peter-evans/dockerhub-description@v3
135133 with :
136- readme-filepath : agent-plane/agentplane-hashicorp/README.md
134+ readme-filepath : agent-plane/agentplane-hashicorp/README.md
137135 username : ${{ secrets.DOCKER_HUB_USER }}
138136 password : ${{ secrets.DOCKER_HUB_TOKEN }}
139137 repository : ${{ env.IMAGE_NAMESPACE }}/agentplane-hashicorp
@@ -145,15 +143,15 @@ jobs:
145143 with :
146144 images : |
147145 ${{ env.IMAGE_NAMESPACE }}/agentplane-azure-vault
148- # Automatically prepare image tags; See action docs for more examples.
146+ # Automatically prepare image tags; See action docs for more examples.
149147 # semver patter will generate tags like these for example :1 :1.2 :1.2.3
150148 tags : |
151149 type=sha,event=branch
152150 type=sha,event=pr
153151 type=semver,pattern={{version}}
154152 type=semver,pattern={{major}}
155153 type=semver,pattern={{major}}.{{minor}}
156- type=raw,value=1.9.5-SNAPSHOT ,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
154+ type=raw,value=1.9.8 ,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
157155 type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
158156
159157 - name : Agent Plane Azure Vault Container Build and push
@@ -171,7 +169,7 @@ jobs:
171169 if : ${{ github.repository == 'eclipse-tractusx/knowledge-agents-edc' && github.ref == 'refs/heads/main' }}
172170 uses : peter-evans/dockerhub-description@v3
173171 with :
174- readme-filepath : agent-plane/agentplane-azure-vault/README.md
172+ readme-filepath : agent-plane/agentplane-azure-vault/README.md
175173 username : ${{ secrets.DOCKER_HUB_USER }}
176174 password : ${{ secrets.DOCKER_HUB_TOKEN }}
177175 repository : ${{ env.IMAGE_NAMESPACE }}/agentplane-azure-vault
0 commit comments