This commit is contained in:
UltraDesu
2021-08-24 00:30:27 +03:00
parent d97eaf4284
commit 6c2837a76f

View File

@ -34,12 +34,12 @@ jobs:
build-push-docker: build-push-docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Get the version (git tag) # - name: Get the version (git tag)
id: get_version_for_docker # id: get_version_for_docker
run: | # run: |
echo ${GITHUB_REF/refs\/tags\/v/} # echo ${GITHUB_REF/refs\/tags\/v/}
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/} # echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
echo ::set-output name=FULL_TAG::${GITHUB_REF/refs\/tags\//} # echo ::set-output name=FULL_TAG::${GITHUB_REF/refs\/tags\//}
- -
name: Set up QEMU name: Set up QEMU
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
@ -59,13 +59,13 @@ jobs:
with: with:
push: true push: true
tags: ultradesu/desubot:latest tags: ultradesu/desubot:latest
- # -
name: Build and push # name: Build and push
id: docker_build_tag # id: docker_build_tag
uses: docker/build-push-action@v2 # uses: docker/build-push-action@v2
with: # with:
push: true # push: true
tags: ultradesu/desubot:${{ steps.get_version.outputs.FULL_TAG }} # tags: ultradesu/desubot:${{ steps.get_version.outputs.FULL_TAG }}
publish: publish:
name: Publish release name: Publish release