|
87 | 87 | run: | |
88 | 88 | docker image list |
89 | 89 | - name: Log in to the Container registry |
90 | | - run: | |
91 | | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin |
| 90 | + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 |
| 91 | + with: |
| 92 | + registry: ${{ env.REGISTRY }} |
| 93 | + username: ${{ github.actor }} |
| 94 | + password: ${{ secrets.GITHUB_TOKEN }} |
92 | 95 | - name: Tag image for CI run |
93 | 96 | run: docker tag ${{ matrix.image.internal }} ${{ env.REPO }}/system-tests/${{ matrix.image.name }}:gha${{ github.run_id }}-g${{ github.sha }} |
94 | 97 | - name: Push image for CI run |
@@ -182,8 +185,11 @@ jobs: |
182 | 185 | docker pull "${{ env.REPO }}/system-tests/${{ matrix.library.name }}/${{ matrix.image }}-${{ matrix.app }}:g${sha}" || true |
183 | 186 | done |
184 | 187 | - name: Log in to the Container registry |
185 | | - run: | |
186 | | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin |
| 188 | + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 |
| 189 | + with: |
| 190 | + registry: ${{ env.REGISTRY }} |
| 191 | + username: ${{ github.actor }} |
| 192 | + password: ${{ secrets.GITHUB_TOKEN }} |
187 | 193 | - name: Build |
188 | 194 | run: | |
189 | 195 | cache_from=() |
@@ -470,8 +476,11 @@ jobs: |
470 | 476 | name: Cleanup (${{ matrix.image }}) |
471 | 477 | steps: |
472 | 478 | - name: Log in to the Container registry |
473 | | - run: | |
474 | | - echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin |
| 479 | + uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 |
| 480 | + with: |
| 481 | + registry: ${{ env.REGISTRY }} |
| 482 | + username: ${{ github.actor }} |
| 483 | + password: ${{ secrets.GITHUB_TOKEN }} |
475 | 484 | - uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0 |
476 | 485 | with: |
477 | 486 | package-version-ids: "gha${{ github.run_id }}-g${{ github.sha }}" |
|
0 commit comments