From a311be6752643d9ba9bdc4b082ffc6e6364f0aa3 Mon Sep 17 00:00:00 2001 From: Admiralawkbar Date: Thu, 3 Dec 2020 13:55:28 -0600 Subject: [PATCH] trying this out --- .github/workflows/deploy-DEV.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 #