Commit eb7e17eeba027ff027f1a18d017706c424e69e57

Edward Thomson 2020-06-06T16:12:18

Update main.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 360edee..64ba243 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -15,8 +15,8 @@ jobs:
       uses: actions/checkout@v2
     - name: Calculate image label
       run: |
-        git log -1 azure-pipelines/docker/
-        echo "::set-env name=docker-label::libgit2-$(git log -1 --pretty=format:"%h" -- azure-pipelines/docker/)"
+        git log -1 -- azure-pipelines/docker/\*
+        echo "::set-env name=docker-label::libgit2-$(git log -1 --pretty=format:"%h" -- azure-pipelines/docker/\*)"
     - name: Log in to GitHub Packages
       run: |
         docker login https://docker.pkg.github.com -u ${{github.actor}} -p ${{github.token}}