build and push

This commit is contained in:
Yohan9206 2025-06-12 17:50:28 +03:00
parent 40ba5daecc
commit 9d940b1be3

View file

@ -28,3 +28,22 @@ jobs:
# - name: Push image # - name: Push image
# run: docker push geth-custom # run: docker push geth-custom
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Tag and push image
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Tag and push image
run: |
docker tag geth-custom yohands/my_first_container:latest
docker push yohands/my_first_container:latest