forked from wazuh/wazuh-docker
add fetch
This commit is contained in:
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- name: Checkout latest tag
|
- name: Checkout latest tag
|
||||||
run: |
|
run: |
|
||||||
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
||||||
|
git fetch origin
|
||||||
git checkout $latest
|
git checkout $latest
|
||||||
|
|
||||||
- name: Build Wazuh images
|
- name: Build Wazuh images
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- name: Checkout latest tag
|
- name: Checkout latest tag
|
||||||
run: |
|
run: |
|
||||||
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
||||||
|
git fetch origin
|
||||||
git checkout $latest
|
git checkout $latest
|
||||||
|
|
||||||
- name: Build Wazuh images
|
- name: Build Wazuh images
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ jobs:
|
|||||||
- name: Checkout latest tag
|
- name: Checkout latest tag
|
||||||
run: |
|
run: |
|
||||||
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
latest=$(curl -s "https://api.github.com/repos/wazuh/wazuh-docker/releases/latest" | jq -r '.tag_name')
|
||||||
|
git fetch origin
|
||||||
git checkout $latest
|
git checkout $latest
|
||||||
|
|
||||||
- name: Build Wazuh images
|
- name: Build Wazuh images
|
||||||
|
|||||||
Reference in New Issue
Block a user