diff --git a/.github/workflows/deploy-DEV.yml b/.github/workflows/deploy-DEV.yml index 8f7a9cfd..86fb2bc5 100644 --- a/.github/workflows/deploy-DEV.yml +++ b/.github/workflows/deploy-DEV.yml @@ -53,8 +53,13 @@ jobs: # Build image locally for testing # ################################### - name: Build image - shell: bash - run: docker build --build-arg "BUILD_DATE=${BUILD_DATE}" --build-arg "BUILD_REVISION=${GITHUB_SHA}" --build-arg "BUILD_VERSION=${GITHUB_SHA}" --no-cache -t github/super-linter:${GITHUB_SHA} . + uses: whoan/docker-build-with-cache-action@v5 + with: + registry: ghcr.io + image_name: github/super-linter + image_tag: latest + dockerfile: Dockerfile + build_extra_args: "--build-arg=BUILD_DATE=${BUILD_DATE} --build-arg=BUILD_REVISION=${GITHUB_SHA} --build-arg=BUILD_VERSION=${GITHUB_SHA} -t github/super-linter:${GITHUB_SHA}" ######################################## # Validates the metadata docker labels #