From 924537b468d24bbd47e15bebbef65c9ead452094 Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Sun, 31 Oct 2021 14:25:22 +0100 Subject: [PATCH] Update CI Signed-off-by: Khanh Ngo --- .github/workflows/build-and-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index c30415d..e108c20 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -39,7 +39,7 @@ jobs: uses: docker/build-push-action@v2 if: github.ref == 'refs/heads/master' with: - context: . + context: ./docker push: true tags: ngoduykhanh/powerdns-admin:latest @@ -47,6 +47,6 @@ jobs: uses: docker/build-push-action@v2 if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }} with: - context: . + context: ./docker push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }}