Commit 486f5e11 authored by ethfoo's avatar ethfoo
Browse files

Fix(chore): invalid tag when build image

parent 4bf1dcf6
Showing with 3 additions and 2 deletions
+3 -2
......@@ -36,7 +36,6 @@ jobs:
with:
buildx-version: latest
qemu-version: latest
tags: ${{ steps.meta.outputs.tags }}
- name: get version
id: get_version
run: echo ${GITHUB_SHA::8} && echo ${GITHUB_REF#refs/heads/}
......@@ -45,4 +44,6 @@ jobs:
run: echo ${GITHUB_REPOSITORY#*/}
- name: Build and push
id: docker_buildx
run: docker buildx build --platform linux/amd64,linux/arm64 . --push -t ${{ secrets.DOCKERHUB_USERNAME }}/${GITHUB_REPOSITORY#*/}:$INPUT_TAGS
run: docker buildx build --platform linux/amd64,linux/arm64 . --push -t ${{ secrets.DOCKERHUB_USERNAME }}/${GITHUB_REPOSITORY#*/}:$TAGS
env:
TAGS: ${{ steps.meta.outputs.tags }}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment