Skip to content

Commit 088b92c

Browse files
committed
Github action: Maintain consistency in var names
Signed-off-by: Harshad Reddy Nalla <[email protected]>
1 parent fb4cd2f commit 088b92c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/pr-close-image-delete.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
env:
88
QUAY_IMAGE_REPO: ${{ secrets.QUAY_IMAGE_REPO }}
9-
109
jobs:
1110
delete-pr-quay-image:
1211
runs-on: ubuntu-latest
@@ -23,10 +22,10 @@ jobs:
2322
- name: Login to quay.io
2423
shell: bash
2524
env:
26-
QUAY_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
2725
QUAY_ROBOT_USERNAME: ${{ secrets.QUAY_ROBOT_USERNAME }}
26+
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
2827
run: |
29-
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_TOKEN}
28+
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_ROBOT_TOKEN}
3029
- name: Delete PR image
3130
shell: bash
3231
env:

.github/workflows/tag-release-quay.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: quay.tag
1+
name: Image push per Github Tag
22

33
# This GitHub action activates whenever a new tag is created on the repo
44
# and creates a copy of the image of the associated commit hash with the
@@ -27,10 +27,10 @@ jobs:
2727
- name: Login to quay.io
2828
shell: bash
2929
env:
30-
QUAY_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
3130
QUAY_ROBOT_USERNAME: ${{ secrets.QUAY_ROBOT_USERNAME }}
31+
QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}
3232
run: |
33-
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_TOKEN}
33+
skopeo login quay.io -u ${QUAY_ROBOT_USERNAME} -p ${QUAY_ROBOT_TOKEN}
3434
- name: Get latest tag name
3535
id: tag
3636
run: echo "tag=$(git describe --tags --abbrev=0)" >> ${GITHUB_OUTPUT}

0 commit comments

Comments
 (0)