File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,11 @@ jobs:
19
19
run : |
20
20
sudo apt-get -y update
21
21
sudo apt-get -y install skopeo
22
- - name : Login to quay.io
23
- shell : bash
24
- env :
25
- QUAY_ROBOT_USERNAME : ${{ secrets.QUAY_ROBOT_USERNAME }}
26
- QUAY_ROBOT_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
27
- run : |
28
- skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_ROBOT_TOKEN}
29
22
- name : Delete PR image
30
23
shell : bash
31
24
env :
32
25
PR : ${{ github.event.pull_request.number }}
26
+ QUAY_ROBOT_USERNAME : ${{ secrets.QUAY_ROBOT_USERNAME }}
27
+ QUAY_ROBOT_TOKEN : ${{ secrets.QUAY_ROBOT_TOKEN }}
33
28
run : |
34
- skopeo delete docker://${QUAY_IMAGE_REPO}:pr-${{ env.PR }}
29
+ skopeo delete --creds ${QUAY_ROBOT_USERNAME}:${QUAY_ROBOT_TOKEN} docker://${QUAY_IMAGE_REPO}:pr-${{ env.PR }}
You can’t perform that action at this time.
0 commit comments