mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
Added context on docker build/push step
This commit is contained in:
parent
68547898f4
commit
b62c8c190f
1 changed files with 7 additions and 8 deletions
15
.github/workflows/docker-build.yaml
vendored
15
.github/workflows/docker-build.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Build and Push Docker image to my DockerHub repo
|
||||
name: Docker image CI/CD
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
@ -20,10 +20,9 @@ jobs:
|
|||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
|
||||
- name: Build Docker Image
|
||||
run: |
|
||||
docker build -t mtotovski/go-ethereum:latest .
|
||||
|
||||
- name: Push Docker Image
|
||||
run: |
|
||||
docker push mtotovski/go-ethereum:latest
|
||||
- name: Build and Push Docker Image
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
tags: YOUR_DOCKER_USERNAME/go-ethereum:latest
|
||||
push: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue