From f77e47799106c50e3a9d8bec82e22945e8c75408 Mon Sep 17 00:00:00 2001 From: tsw303005 Date: Tue, 14 Jun 2022 18:15:41 +0800 Subject: [PATCH] update ci yaml --- .github/workflows/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index fa87e5b..2a01ea9 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -67,5 +67,5 @@ jobs: with: context: . file: ./Dockerfile - push: true + push: ${{ github.ref == 'refs/heads/master' }} tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ github.sha }}