|
53 | 53 | - name: Publish latest stable container in ghcr.io |
54 | 54 | run: docker push ${{ env.WINDOWS_STABLE_GHCR }} |
55 | 55 |
|
56 | | - - name: Login in AnsysLab registry |
57 | | - if: ${{ inputs.ansyslab }} |
58 | | - uses: docker/login-action@v2 |
59 | | - with: |
60 | | - registry: azwepsifujiaksacr.azurecr.io |
61 | | - username: ${{ secrets.FUJI_USER }} |
62 | | - password: ${{ secrets.FUJI_TOKEN }} |
63 | | - |
64 | | - - name: Tag container as latest (stable) for AnsysLab registry |
65 | | - if: ${{ inputs.ansyslab }} |
66 | | - run: docker tag ${{ env.WINDOWS_UNSTABLE }} ${{ env.WINDOWS_STABLE_FUJI }} |
67 | | - |
68 | | - - name: Publish latest stable container in AnsysLab registry |
69 | | - if: ${{ inputs.ansyslab }} |
70 | | - run: docker push ${{ env.WINDOWS_STABLE_FUJI }} |
71 | | - |
72 | 56 | windows-ansyslab: |
| 57 | + name: Publish Windows latest image on AnsysLab |
73 | 58 | if: inputs.ansyslab |
74 | 59 | needs: [windows] |
75 | 60 | runs-on: [self-hosted, Windows, pygeometry] |
@@ -118,23 +103,8 @@ jobs: |
118 | 103 | - name: Publish latest stable container in ghcr.io |
119 | 104 | run: docker push ${{ env.LINUX_STABLE_GHCR }} |
120 | 105 |
|
121 | | - - name: Login in AnsysLab registry |
122 | | - if: ${{ inputs.ansyslab }} |
123 | | - uses: docker/login-action@v2 |
124 | | - with: |
125 | | - registry: azwepsifujiaksacr.azurecr.io |
126 | | - username: ${{ secrets.FUJI_USER }} |
127 | | - password: ${{ secrets.FUJI_TOKEN }} |
128 | | - |
129 | | - - name: Tag container as latest (stable) for AnsysLab registry |
130 | | - if: ${{ inputs.ansyslab }} |
131 | | - run: docker tag ${{ env.LINUX_UNSTABLE }} ${{ env.LINUX_STABLE_FUJI }} |
132 | | - |
133 | | - - name: Publish latest stable container in AnsysLab registry |
134 | | - if: ${{ inputs.ansyslab }} |
135 | | - run: docker push ${{ env.LINUX_STABLE_FUJI }} |
136 | | - |
137 | 106 | linux-ansyslab: |
| 107 | + name: Publish Linux latest image on AnsysLab |
138 | 108 | if: inputs.ansyslab |
139 | 109 | needs: [linux] |
140 | 110 | runs-on: [self-hosted, Linux] |
|
0 commit comments