Disable PROXY protocol for the default health check cases #840
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
pull_request: | |
push: | |
branches: [ master ] | |
env: | |
GOFLAGS: "-mod=vendor" | |
GITHUB_ENV: ".env" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
with: | |
fetch-depth: 1 | |
- name: Install go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 | |
with: | |
go-version-file: go.mod | |
- name: Run tests | |
run: make ci | |
- name: Verify container image build | |
run: make build | |
release-dev-image: | |
runs-on: ubuntu-latest | |
needs: test | |
if: github.ref == 'refs/heads/master' | |
steps: | |
- name: checkout | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 | |
with: | |
fetch-depth: 1 | |
- name: Install go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 | |
with: | |
go-version-file: go.mod | |
- name: Login to dockerhub to push the image | |
run: echo "${{ secrets.DockerHubToken }}" | docker login --username ${DOCKER_USER} --password-stdin | |
env: | |
DOCKER_USER: ${{ secrets.DockerHubUser }} | |
- name: build and push new CCM dev image | |
run: | | |
VERSION=dev make publish |