From 401ab9b46de045be0eb06da8ebdbaafaa27125d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Fri, 28 Jun 2024 10:56:04 +0200 Subject: [PATCH] chore(ci): pass docker install type to the nightly build payload (#2612) * chore: continue on error for the nightly build * chore: pass docker install type to the payload --- .github/workflows/docker-moby-latest.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/docker-moby-latest.yml b/.github/workflows/docker-moby-latest.yml index 40b8ec1986..acf8704ec8 100644 --- a/.github/workflows/docker-moby-latest.yml +++ b/.github/workflows/docker-moby-latest.yml @@ -12,7 +12,12 @@ jobs: rootless-docker: [true, false] name: "Core tests using latest moby/moby" runs-on: 'ubuntu-latest' + continue-on-error: true steps: + - name: Set the Docker Install type + run: | + echo "docker_install_type=${{ matrix.rootless-docker == true && 'Rootless' || 'Rootful' }}" >> "$GITHUB_ENV" + - name: Setup rootless Docker if: ${{ matrix.rootless-docker }} uses: ScribeMD/rootless-docker@6bd157a512c2fafa4e0243a8aa87d964eb890886 # v0.2.2 @@ -50,6 +55,7 @@ jobs: cat < ./payload-slack-content.json { "tc_project": "testcontainers-go", + "tc_docker_install_type": "${docker_install_type}", "tc_github_action_url": "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}/attempts/${GITHUB_RUN_ATTEMPT}", "tc_github_action_status": "FAILED", "tc_slack_channel_id": "${{ secrets.SLACK_DOCKER_LATEST_CHANNEL_ID }}"