We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f364b52 commit fba4ce5Copy full SHA for fba4ce5
.github/workflows/docker.yml
@@ -16,6 +16,9 @@ jobs:
16
echo "SHORT_SHA=$SHORT_SHA" >> $GITHUB_ENV
17
echo "DOCKER_TAG=${{ github.ref_name }}-$SHORT_SHA" >> $GITHUB_ENV
18
19
+ # also include SHA in version string
20
+ sed -ri 's/"version": "(.*)"/"version": "\1-$SHORT_SHA"/g' package.json
21
+
22
- name: Login to Docker Hub
23
uses: docker/login-action@v3
24
with:
0 commit comments