add fetch

This commit is contained in:
vcerenu
2023-08-18 15:23:12 -03:00
parent a2f50192b6
commit 1d8332725f
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ jobs:
- name: Checkout latest tag
run: |
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
git fetch origin
git checkout $latest
- name: Build Wazuh images
+1
View File
@@ -40,6 +40,7 @@ jobs:
- name: Checkout latest tag
run: |
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
git fetch origin
git checkout $latest
- name: Build Wazuh images
+1
View File
@@ -40,6 +40,7 @@ jobs:
- name: Checkout latest tag
run: |
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
git fetch origin
git checkout $latest
- name: Build Wazuh images