Skip to content

Merge pull request #606 from hahwul/improve-dockerfile #1028

Merge pull request #606 from hahwul/improve-dockerfile

Merge pull request #606 from hahwul/improve-dockerfile #1028

Workflow file for this run

name: Docker build
on:
push:
branches: [ main ]
paths:
- cmd/**/*
- pkg/**/*
- lib/**/*
- go.mod
- dalfox.go
- Dockerfile
pull_request:
branches: [ main ]
paths:
- cmd/**/*
- pkg/**/*
- lib/**/*
- go.mod
- dalfox.go
- Dockerfile
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag hahwul/dalfox:$(date +%s)