Skip to content

Commit

Permalink
push a major-version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Oct 30, 2024
1 parent e5184d5 commit baaeef7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @silinternational/developers
*.php @silinternational/php-devs
4 changes: 3 additions & 1 deletion .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
name: Build and Publish
needs: tests
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -47,6 +48,7 @@ jobs:
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push Docker image to Docker Hub
uses: docker/build-push-action@v5
Expand All @@ -67,4 +69,4 @@ jobs:
ghcr.io/${{ github.repository }}:${{ github.ref_name }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GITHUB_REF_NAME=${{ github.ref_name }}
GITHUB_REF_NAME=${{ github.ref_name }}

0 comments on commit baaeef7

Please sign in to comment.