We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eec7546 commit 6cad8dfCopy full SHA for 6cad8df
.github/workflows/docker-build.yml
@@ -18,10 +18,12 @@ jobs:
18
registry: docker.pkg.github.com
19
username: ${{ github.actor }}
20
password: ${{ secrets.GITHUB_TOKEN }}
21
+ - id: docker-tag
22
+ uses: yuya-takeyama/docker-tag-from-github-ref-action@v1
23
- name: Build container image
24
uses: docker/build-push-action@v2
25
with:
26
push: true
27
tags: |
28
docker.pkg.github.com/${{ github.repository }}/slapd-simple:${{ github.sha }}
- 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