Skip to content

Commit ed28fbd

Browse files
committed
Fix gtihub workflow
1 parent 63085bb commit ed28fbd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docker-image.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
- name: Set output variables
2424
id: vars
2525
run: |
26-
echo "::set-output name=cgcpp_version::$(python setup.py --version)"
27-
echo "::set-output name=docker_tag::$($(python setup.py --version) -replace '\.\w+$')"
26+
echo "docker_tag=$('${{ github.ref_name }}' -replace '^v', '' -replace '\.\w+$', '')" >> $GITHUB_OUTPUT
2827
2928
- name: Build Docker image
3029
run: docker build . --file Dockerfile --tag ababak/cgcpp:${{ steps.vars.outputs.docker_tag }}

0 commit comments

Comments
 (0)