fix dockerhub login
This commit is contained in:
1 parent
436ab972e6
commit
1dccf07d8c
1 file changed
+2
-4
@@ -128,10 +128,8 @@ jobs:
|
||||
|
||||
- name: Login to Docker Hub
|
||||
if: contains(steps.prep.outputs.push_targets, 'dockerhub')
|
||||
uses: https://github.com/docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
run: |
|
||||
echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login docker.io -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
|
||||
|
||||
- name: Build and Push Docker Image
|
||||
if: steps.check_changes.outputs.should_build == 'true'
|
||||
|
||||
Reference in new issue
Block a user