Skip to content

Commit 30f2147

Browse files
author
Thomas Luijken
committed
Added simple docker login step
1 parent 716a081 commit 30f2147

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/actions/docker/action.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,12 @@ runs:
6767
echo "dockerfile=$DOCKERFILE" >> $GITHUB_OUTPUT
6868
echo "registry=$REGISTRY" >> $GITHUB_OUTPUT
6969
70-
- name: Authenticate to Container registry
71-
shell: bash
72-
id: login
73-
env:
74-
REGISTRY: ${{steps.info.outputs.registry}}
75-
run: |
76-
echo "${{ inputs.password }}" | docker login "${REGISTRY}"
77-
--username "${{ inputs.username }}"
78-
--password-stdin
70+
- name: Login to Docker Hub
71+
uses: docker/login-action@v3
72+
with:
73+
registry: ${{steps.info.outputs.registry}}
74+
username: ${{inputs.username}}
75+
password: ${{inputs.password}}
7976

8077
- name: determine tag
8178
shell: bash

0 commit comments

Comments
 (0)