From 231a4f2f8f284ed208a3785caac38d25d59cc911 Mon Sep 17 00:00:00 2001 From: gadotroee <55343099+gadotroee@users.noreply.github.com> Date: Thu, 29 Apr 2021 13:18:18 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b12dc0a01..b86d9de7d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,15 +9,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Extract branch name - shell: bash - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" - id: extract_branch - name: Docker meta id: meta uses: crazy-max/ghaction-docker-meta@v2 with: - images: gcr.io/up9-docker-hub/mizu/${{ steps.extract_branch.outputs.branch }} + images: gcr.io/up9-docker-hub/mizu/${GITHUB_REF#refs/heads/} tags: | type=sha type=raw,${{ github.sha }}