Add docker/login-action
This commit is contained in:
5
.github/actions/build-image/action.yml
vendored
5
.github/actions/build-image/action.yml
vendored
@@ -19,6 +19,11 @@ runs:
|
||||
uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
driver-opts: network=host
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
username: ${{ inputs.dockerhub-username }}
|
||||
password: ${{ inputs.dockerhub-password }}
|
||||
- name: Build and Push image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user