diff --git a/.github/dependabot.yml b/.github/dependabot.yaml similarity index 100% rename from .github/dependabot.yml rename to .github/dependabot.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yaml similarity index 96% rename from .github/workflows/ci.yml rename to .github/workflows/ci.yaml index d7825eb..3764c2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yaml @@ -3,7 +3,7 @@ name: CI on: push: branches: ["main"] - tags: ["v*.*.*"] + tags: ["*.*.*"] pull_request: branches: ["main"] @@ -45,7 +45,7 @@ jobs: id: meta run: | TAGS="ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:latest" - if [[ "${{ github.ref }}" == refs/tags/v* ]]; then + if [[ "${{ github.ref }}" =~ ^refs/tags/[0-9]+\.[0-9]+\.[0-9]+$ ]]; then VERSION="${{ github.ref_name }}" TAGS="ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:${VERSION},ghcr.io/${{ steps.owner.outputs.owner }}/test-ip:latest" fi