File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2929 contents : read
3030 packages : write
3131 steps :
32- - uses : actions/checkout@v4
3332 - name : Log in to GitHub Container Registry
3433 uses : docker/login-action@v2
3534 with :
3938 - name : Build and Push Docker images
4039 run : |
4140 modules=("weather-agent news-agent productsearch-agent techspec-agent reportgenerate-agent")
42- version=$(grep '^version=' $module/ gradle.properties | awk -F= '{print $2}')
41+ version=$(grep '^version=' gradle.properties | awk -F= '{print $2}')
4342 for module in "${modules[@]}"; do
4443 docker build --build-arg VERSION=$version -f $module/Dockerfile -t ghcr.io/eclipse-lmos/$module:$version $module
4544 docker push ghcr.io/eclipse-lmos/$module:$version
Original file line number Diff line number Diff line change 4747 - name : Build and Push Docker images
4848 run : |
4949 modules=("weather-agent news-agent productsearch-agent techspec-agent reportgenerate-agent")
50- version=$(grep '^version=' $module/ gradle.properties | awk -F= '{print $2}')
50+ version=$(grep '^version=' gradle.properties | awk -F= '{print $2}')
5151 for module in "${modules[@]}"; do
5252 docker build --build-arg VERSION=$version -f $module/Dockerfile -t ghcr.io/eclipse-lmos/$module:$version $module
5353 docker push ghcr.io/eclipse-lmos/$module:$version
You can’t perform that action at this time.
0 commit comments