diff --git a/.github/workflows/actions-example.yml b/.github/workflows/actions-example.yml index 98fffc4..a773c8e 100644 --- a/.github/workflows/actions-example.yml +++ b/.github/workflows/actions-example.yml @@ -56,4 +56,4 @@ jobs: -v $GITHUB_STEP_SUMMARY:/github/summary.txt \ -v ${{ github.workspace }}/assets/allure-results:/allure-results \ -v ${{ github.workspace }}/gcp-key.json:/credentials/key.json \ - sokari/allure-docker-deploy:latest \ No newline at end of file + sokari/allure-deployer:latest \ No newline at end of file diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index f92e6ec..a05d10c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -31,5 +31,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: | - sokari/allure-docker-deploy:latest - sokari/allure-docker-deploy:${{ github.sha }} \ No newline at end of file + sokari/allure-deployer:latest + sokari/allure-deployer:${{ github.sha }} \ No newline at end of file diff --git a/README.md b/README.md index d6d35f0..2be3389 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ 3. [Use Cases](#use-cases) - [GitHub Actions](#github-actions-integration) - [Local Test Runs](#local-test-runs) -4. [How It Works](#how-it-works) -5. [Docker Image Configuration](#docker-image-configuration) - - [Environment Variables](#environment-variables) - - [Mount Volumes](#mount-volumes) +4. [Docker Image Configuration](#docker-image-configuration) + - [Environment Variables](#environment-variables) + - [Mount Volumes](#mount-volumes) +5. [How It Works](#how-it-works) 6. [Comparison with Other Tools](#comparison-with-other-open-source-tools) 7. [Troubleshooting and FAQs](#troubleshooting-and-faqs) 8. [License](#license) @@ -74,7 +74,7 @@ jobs: -v $GITHUB_STEP_SUMMARY:/github/summary.txt \ # Display test report URL in GitHub summary -v ${{ github.workspace }}/allure-results:/allure-results \ # Mount test results -v ${{ secrets.GCP_CREDENTIALS_FILE_PATH }}:/credentials/key.json \ # Bind GCP credentials - sokari/allure-docker-deploy:latest + sokari/allure-deployer:latest ``` ___ @@ -124,16 +124,16 @@ ___ ### 2. For local test runs #### 1. Pull the Docker Image ```shell -docker pull sokari/allure-docker-deploy:latest +docker pull sokari/allure-deployer:latest ``` ___ #### 2. Run the Container ```shell docker run -d \ - -e STORAGE_BUCKET=my-test-results-bucket \ -e WEBSITE_ID=my-custom-site-id \ -e WEBSITE_EXPIRES=2d \ + -e STORAGE_BUCKET=my-test-results-bucket \ -e WATCH_MODE=true \ -e TTL_SECS=60 \ -v /path/to/allure-results:/allure-results \ @@ -146,49 +146,21 @@ ___ ```yaml services: allure: - image: sokari/allure-docker-deploy - container_name: allure-deploy-service + image: sokari/allure-deployer volumes: - /path/to/allure-results:/allure-results - /path/to/service-account.json:/credentials/key.json environment: - STORAGE_BUCKET: your-storage-bucket + WEBSITE_ID: your-site-id # Assign an ID to your Allure report website + WEBSITE_EXPIRES: 2d # Duration of availability. 1-30 days + STORAGE_BUCKET: your-storage-bucket # Google Cloud storage bucket KEEP_HISTORY: true # Default is true when STORAGE_BUCKET is provided KEEP_RESULTS: false # Default is false - # Uncomment the line below to enable Hosting - # WEBSITE_ID: your-firebase-site-id - # WEBSITE_EXPIRES: 2d WATCH_MODE: true TTL_SECS: 60 ``` ___ -