Added Docker login action
parent
a18978d9ec
commit
d4f9c39cea
|
@ -17,7 +17,11 @@ jobs:
|
|||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Docker login
|
||||
run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} https://${REGISTRY}
|
||||
uses: actions/docker-login@v2
|
||||
with:
|
||||
registry: ${{ REGISTRY }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build and push
|
||||
uses: actions/docker-build-push@v4
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue