File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - ' feature/terraform-utils'
7- paths :
8- - ' docker/terraform-utils/Dockerfile'
7+ # paths:
8+ # - 'docker/terraform-utils/Dockerfile'
99
1010jobs :
1111 push_to_registries :
12- name : Push Docker image to multiple registries
12+ name : Push Docker image
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Check out the repo
1616 uses : actions/checkout@v2
17- - name : Push to Docker Hub
18- uses : docker/build-push- action@v2
17+ - name : Login to DockerHub
18+ uses : docker/login- action@v1
1919 with :
2020 username : ${{ secrets.DOCKER_USERNAME }}
2121 password : ${{ secrets.DOCKER_PASSWORD }}
22+ - name : Build and push
23+ uses : docker/build-push-action@v2
24+ with :
2225 context : docker/terraform-utils/
2326 tags : maddevsio/terraform-utils:latest
You can’t perform that action at this time.
0 commit comments