From 7d80f4e74f3985b337cc25ced028ab8d5449271d Mon Sep 17 00:00:00 2001 From: Matteo Ruina Date: Sat, 6 Mar 2021 09:20:22 +0100 Subject: [PATCH] Add push for releases --- .github/workflows/build.yaml | 2 -- .github/workflows/release.yaml | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9141371..96aae5b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,8 +14,6 @@ jobs: - name: Check out code uses: actions/checkout@v2 - with: - fetch-depth: 0 - name: Build docker image on PR uses: docker/build-push-action@v2.3.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 606eeb4..f65ff29 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,8 +13,6 @@ jobs: - name: Check out code uses: actions/checkout@v2 - with: - fetch-depth: 0 - name: Get tag uses: olegtarasov/get-tag@v2.1 @@ -29,4 +27,5 @@ jobs: - name: Build and push tagged docker image on master uses: docker/build-push-action@v2.3.0 with: + push: true tags: maruina/docker-grpc-health-probe:${{ steps.tagName.outputs.tag }} \ No newline at end of file