mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-06 20:24:08 +00:00
Fix CI
This commit is contained in:
26
.github/workflows/build-push.yml
vendored
26
.github/workflows/build-push.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user