Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr Bogomyakov committed Aug 24, 2021
1 parent 6c2837a commit 5a6cb37
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: Branch name
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand All @@ -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.branch_name.outputs.SOURCE_TAG }}

publish:
name: Publish release
Expand Down

0 comments on commit 5a6cb37

Please sign in to comment.