Skip to content

Commit

Permalink
ci: Use tag-match to get only version number for docker label
Browse files Browse the repository at this point in the history
  • Loading branch information
drklee3 committed Dec 28, 2020
1 parent 785fb51 commit c63a60a
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,14 @@ jobs:
echo "Tags did not match packages"
exit 1
- name: uhh
run: |
echo ${{ steps.docker_image_select.outputs }}
- name: Docker meta
id: docker_meta
uses: crazy-max/ghaction-docker-meta@v1
with:
images: ${{ steps.docker_image_select.outputs.image}}
tag-sha: true
tag-semver: |
{{version}}
{{major}}.{{minor}}
tag-match: '\d{1,3}.\d{1,3}.\d{1,3}'
tag-match-group: "0"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand Down

0 comments on commit c63a60a

Please sign in to comment.