Update build-push.yml

This commit is contained in:
nikolaivanovj 2025-01-05 20:44:04 +00:00 committed by GitHub
parent 00b10bfb86
commit 6070a1b54b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,6 @@ name: Build and Push Docker Image
on:
pull_request:
types: [closed]
branches:
- main
labels:
@ -25,9 +24,6 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PAT }}
- name: Set ENV Variable for Docker Compose
run: echo "DOCKER_HUB_USERNAME=${{ secrets.DOCKER_HUB_USERNAME }}" >> $GITHUB_ENV
- name: Build and Push Docker Image
run: |
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/go-ethereum:latest .