From dbada0ab2477723294f7b0fc095448111fc3cf4b Mon Sep 17 00:00:00 2001 From: Alessandro Mariotti Date: Tue, 16 Apr 2024 12:40:17 +0200 Subject: [PATCH] fix: use DIND for deployment too --- .github/workflows/docker-step-deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-step-deploy.yml b/.github/workflows/docker-step-deploy.yml index 6809695c..5afc8dc0 100644 --- a/.github/workflows/docker-step-deploy.yml +++ b/.github/workflows/docker-step-deploy.yml @@ -32,13 +32,17 @@ on: IMAGES: required: true type: string + DIND_IMAGE: + required: false + type: string + default: 'docker:26.0.0-dind' env: "${{secrets}}" jobs: deploy: runs-on: - labels: + labels: - deploy - ${{ inputs.DEPLOY_ON }} group: ${{ inputs.RUNNERS_NATIVE_GROUP }} @@ -46,6 +50,8 @@ jobs: environment: name: ${{ inputs.ENVIRONMENT }} url: ${{ inputs.DEPLOY_URL }} + container: + image: ${{ inputs.DIND_IMAGE }} steps: - name: Checkout repository