|
81 | 81 | # tests should not be stopped when they fail on one of the OSes: |
82 | 82 | fail-fast: false |
83 | 83 | matrix: |
84 | | - # name: ["Verify DH protocol model", "Verify DH core", "Verify DH I/O independence", "Verify DH core assumptions"] |
85 | 84 | name: |
86 | 85 | [ |
87 | 86 | "Verify DH protocol model", |
@@ -174,43 +173,43 @@ jobs: |
174 | 173 | - name: ${{ matrix.name }} |
175 | 174 | run: docker run --entrypoint "/bin/bash" ${{ needs.Build.outputs.IMAGE_TAG }} -c "cp -r /dh-orig/. dh/; cp -r /ssm-agent-orig/. ssm-agent/; ${{ matrix.command }}" |
176 | 175 |
|
177 | | - # Publish: |
178 | | - # runs-on: ubuntu-latest |
179 | | - # needs: [Build, Test-DH, Test-SSM-Agent] |
180 | | - # timeout-minutes: 5 |
181 | | - # # set per-job GITHUB_TOKEN permissions such that pushing the Docker image will be possible: |
182 | | - # permissions: |
183 | | - # packages: write |
184 | | - # steps: |
185 | | - # - name: Download artifact |
186 | | - # uses: actions/download-artifact@v4 |
187 | | - # with: |
188 | | - # name: ${{ env.IMAGE_WORKFLOW_ARTIFACT_NAME }} |
189 | | - # path: /tmp |
190 | | - |
191 | | - # - name: Load image |
192 | | - # run: docker load --input /tmp/image.tar |
193 | | - |
194 | | - # - name: Login to Github Packages |
195 | | - # uses: docker/login-action@v3 |
196 | | - # with: |
197 | | - # registry: ghcr.io |
198 | | - # username: ${{ github.actor }} |
199 | | - # password: ${{ secrets.GITHUB_TOKEN }} |
200 | | - |
201 | | - # - name: Push image |
202 | | - # run: docker push ${{ needs.Build.outputs.IMAGE_TAG }} |
203 | | - |
204 | | - # Cleanup: |
205 | | - # runs-on: ubuntu-latest |
206 | | - # needs: Publish |
207 | | - # if: always() |
208 | | - # # set per-job GITHUB_TOKEN permissions such that deleting workflow artifacts will be possible: |
209 | | - # permissions: |
210 | | - # actions: write |
211 | | - # steps: |
212 | | - # - name: Delete artifact |
213 | | - # uses: geekyeggo/delete-artifact@v5 |
214 | | - # with: |
215 | | - # name: ${{ env.IMAGE_WORKFLOW_ARTIFACT_NAME }} |
216 | | - # failOnError: false |
| 176 | + Publish: |
| 177 | + runs-on: ubuntu-latest |
| 178 | + needs: [Build, Test-DH, Test-SSM-Agent] |
| 179 | + timeout-minutes: 5 |
| 180 | + # set per-job GITHUB_TOKEN permissions such that pushing the Docker image will be possible: |
| 181 | + permissions: |
| 182 | + packages: write |
| 183 | + steps: |
| 184 | + - name: Download artifact |
| 185 | + uses: actions/download-artifact@v4 |
| 186 | + with: |
| 187 | + name: ${{ env.IMAGE_WORKFLOW_ARTIFACT_NAME }} |
| 188 | + path: /tmp |
| 189 | + |
| 190 | + # - name: Load image |
| 191 | + # run: docker load --input /tmp/image.tar |
| 192 | + |
| 193 | + # - name: Login to Github Packages |
| 194 | + # uses: docker/login-action@v3 |
| 195 | + # with: |
| 196 | + # registry: ghcr.io |
| 197 | + # username: ${{ github.actor }} |
| 198 | + # password: ${{ secrets.GITHUB_TOKEN }} |
| 199 | + |
| 200 | + # - name: Push image |
| 201 | + # run: docker push ${{ needs.Build.outputs.IMAGE_TAG }} |
| 202 | + |
| 203 | + Cleanup: |
| 204 | + runs-on: ubuntu-latest |
| 205 | + needs: Publish |
| 206 | + if: always() |
| 207 | + # set per-job GITHUB_TOKEN permissions such that deleting workflow artifacts will be possible: |
| 208 | + permissions: |
| 209 | + actions: write |
| 210 | + steps: |
| 211 | + - name: Delete artifact |
| 212 | + uses: geekyeggo/delete-artifact@v5 |
| 213 | + with: |
| 214 | + name: ${{ env.IMAGE_WORKFLOW_ARTIFACT_NAME }} |
| 215 | + failOnError: false |
0 commit comments