diff --git a/.github/workflows/dockerBuild.yml b/.github/workflows/dockerBuild.yml index bcac662b94..812bb4eea6 100644 --- a/.github/workflows/dockerBuild.yml +++ b/.github/workflows/dockerBuild.yml @@ -28,3 +28,22 @@ jobs: # - name: Push image # 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 +