Skip to content

Commit 6cad8df

Browse files
committed
Fix the build error.
Signed-off-by: Masaki Muranaka <[email protected]>
1 parent eec7546 commit 6cad8df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,12 @@ jobs:
1818
registry: docker.pkg.github.com
1919
username: ${{ github.actor }}
2020
password: ${{ secrets.GITHUB_TOKEN }}
21+
- id: docker-tag
22+
uses: yuya-takeyama/docker-tag-from-github-ref-action@v1
2123
- name: Build container image
2224
uses: docker/build-push-action@v2
2325
with:
2426
push: true
2527
tags: |
2628
docker.pkg.github.com/${{ github.repository }}/slapd-simple:${{ github.sha }}
27-
docker.pkg.github.com/${{ github.repository }}/slapd-simple:${{ github.ref }}
29+
docker.pkg.github.com/${{ github.repository }}/slapd-simple:${{ steps.docker-tag.outputs.tag }}

0 commit comments

Comments
 (0)