go-ethereum/.github/workflows/docker-image.yml
Vasil Boyadzhiev b1ae96ee43
Creating docker-image.yml
Creating the workflow that will create a Dockerfile after a PR with label: CI:Build
2024-06-11 22:31:46 +03:00

19 lines
411 B
YAML

name: Build Docker image for project
on:
push:
types: [labeled]
pull_request:
types: [labeled]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ (github.event_name == 'pull_request' && github.event.label.name == 'CI:Build') }}
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag go-etherium-devops:$(date +%s)