updated kuberhealthy yaml
@@ -9,22 +9,15 @@ on:
env:
IMAGE_NAME: kuberhealthy
- TEST_VAR: ${{github.refs}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Get the version
- id: get_version
- run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- - name: testing2
- #if: startsWith(github.ref, "refs/tags/")
- run: |
- echo "test var: $TEST_VAR"
- name: build container
- run: docker build . --file Dockerfile --tag $IMAGE_NAME
+ run: docker build ../../ --file Dockerfile --tag $IMAGE_NAME
+ working-directory: cmd/kuberhealthy
- name: Log into docker hub
run: echo "${{ secrets.DOCKER_TOKEN }}" | docker login -u integrii --password-stdin
- name: Push new latest image
