Skip to content

Commit cdf6172

Browse files
committed
Surround Docker login user by quotes
1 parent 947d130 commit cdf6172

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/debian.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
31-
- name: Login to GitHub Container Registry
32-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${GITHUB_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
31+
- name: Login to GitHub Registry
32+
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login ${GITHUB_REGISTRY} -u '${{ github.repository_owner }}' --password-stdin
3333
- name: Determine the Docker image name.
3434
run: |
3535
# Convert the repository name to lowercase as the organization name is

.github/workflows/rhel.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32-
- name: Login to GitHub Container Registry
33-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${GITHUB_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
34-
- name: Login to Red Hat Container Registry
35-
run: echo "${{ secrets.REDHAT_TOKEN }}" | docker login ${REDHAT_REGISTRY} -u ${{ env.REDHAT_USER }} --password-stdin
32+
- name: Login to GitHub Registry
33+
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login ${GITHUB_REGISTRY} -u '${{ github.repository_owner }}' --password-stdin
34+
- name: Login to Red Hat Registry
35+
run: echo '${{ secrets.REDHAT_TOKEN }}' | docker login ${REDHAT_REGISTRY} -u '${{ env.REDHAT_USER }}' --password-stdin
3636
- name: Determine the Docker image name.
3737
run: |
3838
# Convert the repository name to lowercase as the organization name is
@@ -64,10 +64,10 @@ jobs:
6464
steps:
6565
- name: Checkout repository
6666
uses: actions/checkout@v4
67-
- name: Login to GitHub Container Registry
68-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${GITHUB_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
69-
- name: Login to Red Hat Container Registry
70-
run: echo "${{ secrets.REDHAT_TOKEN }}" | docker login ${REDHAT_REGISTRY} -u ${{ env.REDHAT_USER }} --password-stdin
67+
- name: Login to GitHub Registry
68+
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login ${GITHUB_REGISTRY} -u '${{ github.repository_owner }}' --password-stdin
69+
- name: Login to Red Hat Registry
70+
run: echo '${{ secrets.REDHAT_TOKEN }}' | docker login ${REDHAT_REGISTRY} -u '${{ env.REDHAT_USER }}' --password-stdin
7171
- name: Determine the Docker image name.
7272
run: |
7373
# Convert the repository name to lowercase as the organization name is

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
steps:
3030
- name: Checkout repository
3131
uses: actions/checkout@v4
32-
- name: Login to GitHub Container Registry
33-
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${GITHUB_REGISTRY} -u ${{ github.repository_owner }} --password-stdin
32+
- name: Login to GitHub Registry
33+
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login ${GITHUB_REGISTRY} -u '${{ github.repository_owner }}' --password-stdin
3434
- name: Determine the Docker image name.
3535
run: |
3636
# Convert the repository name to lowercase as the organization name is

0 commit comments

Comments
 (0)