Skip to content

Commit

Permalink
ci(docker): fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
leroyguillaume committed Oct 5, 2023
1 parent 0c9d42a commit 997cb32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- id: version
name: Get latest version
run: |
tag=$(git describe --abbrev=0 --tags)
echo version=${tag:1:} >> $GITHUB_OUTPUT
echo version=$(grep 'version =' build.gradle.kts | cut -d '=' -f 2 | cut -d '"' -f 2) >> $GITHUB_OUTPUT
- name: Login to DockerHub
uses: docker/login-action@v1
Expand Down

0 comments on commit 997cb32

Please sign in to comment.