diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml new file mode 100644 index 00000000..5c43bf9a --- /dev/null +++ b/.github/workflows/docker-build.yml @@ -0,0 +1,18 @@ +name: Docker-build +on: [pull_request, push] +jobs: + build: + runs-on: ubuntu-latest + env: + GO111MODULE: on + steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Build only + uses: docker/build-push-action@v2 + with: + push: false + context: . + file: ./Dockerfile + tags: network-resources-injector:latest