@@ -9,33 +9,32 @@ permissions:
99
1010jobs :
1111 build :
12-
1312 runs-on : ubuntu-latest
1413 timeout-minutes : 10
1514
1615 steps :
17- - name : " Checkout"
18- uses : actions/checkout@v6
19- with :
20- fetch-depth : 0
21-
22- - name : " Get the version"
23- id : get_version
24- run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
25-
26- - name : " Build and push image"
27- uses : azure/docker-login@v2
28- with :
29- login-server : ${{ secrets.REGISTRY_LOGIN_SERVER }}
30- username : ${{ secrets.REGISTRY_USERNAME }}
31- password : ${{ secrets.REGISTRY_PASSWORD }}
32- - run : |
33- docker build --target prod -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/swo-extensions-playground :${{ steps.get_version.outputs.VERSION }} .
34- docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/swo-extensions-playground :${{ steps.get_version.outputs.VERSION }}
16+ - name : " Checkout"
17+ uses : actions/checkout@v6
18+ with :
19+ fetch-depth : 0
20+
21+ - name : " Get the version"
22+ id : get_version
23+ run : echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
24+
25+ - name : " Build and push image"
26+ uses : azure/docker-login@v2
27+ with :
28+ login-server : ${{ secrets.REGISTRY_LOGIN_SERVER }}
29+ username : ${{ secrets.REGISTRY_USERNAME }}
30+ password : ${{ secrets.REGISTRY_PASSWORD }}
31+ - run : |
32+ docker build --target prod -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/mpt-cli-techsupport-plugin :${{ steps.get_version.outputs.VERSION }} .
33+ docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/mpt-cli-techsupport-plugin :${{ steps.get_version.outputs.VERSION }}
3534
3635 dtrack :
3736 uses : softwareone-platform/ops-template/.github/workflows/dependency-track-python-uv.yml@v2
3837 with :
39- projectName : ' swo-extension-playground '
38+ projectName : " mpt-cli-techsupport-plugin "
4039 secrets :
4140 DEPENDENCYTRACK_APIKEY : ${{ secrets.DEPENDENCYTRACK_APIKEY }}
0 commit comments