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:
runs-on: ubuntu-latest
steps:
- name: Get the version (git tag)
id: get_version_for_docker
run: |
echo ${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\//}
# - name: Get the version (git tag)
# id: get_version_for_docker
# run: |
# echo ${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\//}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
@ -59,13 +59,13 @@ jobs:
with:
push: true
tags: ultradesu/desubot:latest
-
name: Build and push
id: docker_build_tag
uses: docker/build-push-action@v2
with:
push: true
tags: ultradesu/desubot:${{ steps.get_version.outputs.FULL_TAG }}
# -
# name: Build and push
# id: docker_build_tag
# uses: docker/build-push-action@v2
# with:
# push: true
# tags: ultradesu/desubot:${{ steps.get_version.outputs.FULL_TAG }}
publish:
name: Publish release