From 37a3d037d443597850e342af7dc4f65dcb8749e5 Mon Sep 17 00:00:00 2001 From: gadotroee <55343099+gadotroee@users.noreply.github.com> Date: Thu, 29 Apr 2021 14:36:32 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f5a0e30c..d6254b5c2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,11 +9,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + - name: Get base image name + shell: bash + run: echo "##[set-output name=image;]$(echo gcr.io/up9-docker-hub/mizu/${GITHUB_REF#refs/heads/})" + id: base_image_step - name: Docker meta id: meta uses: crazy-max/ghaction-docker-meta@v2 with: - images: gcr.io/up9-docker-hub/mizu/${GITHUB_REF##*/} + images: ${{ steps.base_image_step.outputs.image }} tags: | type=sha type=raw,${{ github.sha }}