Update main.yml

This commit is contained in:
gadotroee 2021-04-29 13:18:18 +03:00 committed by GitHub
parent 0dc41e125e
commit 231a4f2f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}