forked from wazuh/wazuh-docker
Change upload and download methods
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Temporarily save Wazuh Docker images
|
- name: Temporarily save Wazuh Docker images
|
||||||
env:
|
env:
|
||||||
S3_ARTIFACTS_PATH: ${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
S3_ARTIFACTS_PATH: s3://${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
||||||
run: |
|
run: |
|
||||||
echo "Uploading Docker image artifacts to S3..."
|
echo "Uploading Docker image artifacts to S3..."
|
||||||
while IFS= read -r artifact; do
|
while IFS= read -r artifact; do
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Retrieve saved Wazuh Docker images and load them into Docker
|
- name: Retrieve saved Wazuh Docker images and load them into Docker
|
||||||
env:
|
env:
|
||||||
S3_ARTIFACTS_PATH: ${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
S3_ARTIFACTS_PATH: s3://${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
||||||
ARTIFACTS_LOCAL_DIR: /home/runner/work/wazuh-docker/wazuh-docker/docker-images
|
ARTIFACTS_LOCAL_DIR: /home/runner/work/wazuh-docker/wazuh-docker/docker-images
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "${ARTIFACTS_LOCAL_DIR}"
|
mkdir -p "${ARTIFACTS_LOCAL_DIR}"
|
||||||
@@ -206,7 +206,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Retrieve saved Wazuh Docker images and load them into Docker
|
- name: Retrieve saved Wazuh Docker images and load them into Docker
|
||||||
env:
|
env:
|
||||||
S3_ARTIFACTS_PATH: ${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
S3_ARTIFACTS_PATH: s3://${{ secrets.CI_DEV_INTERNAL_S3_BUCKET }}/wazuh-docker/4_pr_check/${{ github.run_id }}
|
||||||
ARTIFACTS_LOCAL_DIR: /home/runner/work/wazuh-docker/wazuh-docker/docker-images
|
ARTIFACTS_LOCAL_DIR: /home/runner/work/wazuh-docker/wazuh-docker/docker-images
|
||||||
run: |
|
run: |
|
||||||
mkdir -p "${ARTIFACTS_LOCAL_DIR}"
|
mkdir -p "${ARTIFACTS_LOCAL_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user