From b62de1376dbc05b583bf50ff1ee1f276d062cf90 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Tue, 16 Nov 2021 20:25:59 +0530 Subject: [PATCH] ci: update github workflow to test docker build updated github action to test a retest action docker build workflow. Signed-off-by: Madhu Rajanna --- .github/workflows/test-retest-action.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-retest-action.yaml b/.github/workflows/test-retest-action.yaml index 3bf15c755..73cbef9a2 100644 --- a/.github/workflows/test-retest-action.yaml +++ b/.github/workflows/test-retest-action.yaml @@ -11,13 +11,7 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.16 - - - name: Enter retest directory - run: cd actions/retest - - - name: Build - run: go build -v ./... + - name: Docker build + # Run cd to avoid loading complete cephcsi directory in docker context + # while building retest image. + run: cd actions/retest && docker build -t retest .