We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92d3cd6 + f58e2bd commit 7e35068Copy full SHA for 7e35068
.github/workflows/docker.yml
@@ -8,6 +8,14 @@ jobs:
8
runs-on: ubuntu-latest
9
steps:
10
- uses: actions/checkout@v4
11
+ - name: Check if on main branch
12
+ run: |
13
+ if [[ "${{ github.ref_name }}" =~ ^v[0-9]+[.][0-9]+[.][0-9]+$ ]]; then
14
+ echo "Le nom de la référence correspond au motif."
15
+ else
16
+ echo "Le nom de la référence ne correspond PAS au motif."
17
+ exit 1
18
+ fi
19
- name: Use Generic CI For Building the Application
20
uses: ./.github/actions/generic-ci-app
21
- name: Upload deploy artifact
0 commit comments