From 62efe558c30d64e260c97a00995dbe2ad4a5893b Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Thu, 12 Oct 2023 15:33:23 -0600 Subject: [PATCH] checkout and use proper context Signed-off-by: Florent Poinsard --- .github/workflows/docker_build_lite.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker_build_lite.yml b/.github/workflows/docker_build_lite.yml index 3ee1733f909..e8b75c4610d 100644 --- a/.github/workflows/docker_build_lite.yml +++ b/.github/workflows/docker_build_lite.yml @@ -24,6 +24,9 @@ jobs: branch: [ latest, mysql57, mysql80, percona57, percona80 ] steps: + - name: Check out code + uses: actions/checkout@v3 + - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -42,6 +45,7 @@ jobs: if: github.ref == 'refs/heads/main' uses: docker/build-push-action@v5 with: + context: . file: ${{ env.DOCKERFILE }} push: true tags: vitess/lite:${{ matrix.branch }} @@ -63,6 +67,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') uses: docker/build-push-action@v5 with: + context: . file: ${{ env.DOCKERFILE }} push: true tags: ${{ env.DOCKER_TAG }} \ No newline at end of file