mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Update imageBuild.yml
This commit is contained in:
parent
806b91287e
commit
15f7315c0f
1 changed files with 20 additions and 1 deletions
21
.github/workflows/imageBuild.yml
vendored
21
.github/workflows/imageBuild.yml
vendored
|
|
@ -1 +1,20 @@
|
||||||
|
name: Build Docker Image
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
tags: ghcr.io/username/repo:pr-${{ github.event.pull_request.number }}
|
||||||
|
labels: type=pr,event=merge
|
||||||
|
env:
|
||||||
|
DOCKER_USERNAME: ${{ secrets.DOCKER_HUB_USER }}
|
||||||
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue