Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Commit 97a9c19

Browse files
committed
use docker login
Signed-off-by: Ryan Cook <[email protected]>
1 parent e8a912f commit 97a9c19

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ jobs:
4040

4141

4242
- name: docker login registry.redhat.io
43-
run: echo ${{ secrets.RH_PASSWORD }} | docker login -u ${{ secrets.RH_USERNAME }} --password-stdin registry.redhat.io
43+
uses: docker/login-action@v2
44+
with:
45+
username: ${{ secrets.RH_USERNAME }}
46+
password: ${{ secrets.RH_PASSWORD }}
47+
registry: registry.redhat.io
4448

4549
- name: build push sign and tag
4650
run: |

0 commit comments

Comments
 (0)