Skip to content

Commit a1ae3b8

Browse files
authored
1 parent 516978e commit a1ae3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Build the Docker image
16-
run: cd jacoco-cli; docker build . --file Dockerfile --tag ppiper/jacoco-cli:${GITHUB_REF}
16+
run: cd jacoco-cli; docker build . --file Dockerfile --tag ppiper/jacoco-cli:${GITHUB_REF##*/}
1717
- name: Push to Docker Hub
1818
run: |
1919
echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USER }} --password-stdin
20-
docker push ppiper/jacoco-cli:${GITHUB_REF}
20+
docker push ppiper/jacoco-cli:${GITHUB_REF##*/}
2121
rm -f /home/runner/.docker/config.json

0 commit comments

Comments
 (0)