From 4e955352bf8ae52ae187ca8ca930d46715544996 Mon Sep 17 00:00:00 2001 From: Sean Sica <23294618+seansica@users.noreply.github.com> Date: Fri, 20 Sep 2024 13:25:03 -0400 Subject: [PATCH] fix: modify publish ci job to not use cached docker layers --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d92c58..248ded1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,7 @@ jobs: - name: Build and publish Docker image run: | echo $GITHUB_TOKEN | docker login ghcr.io -u mitre-attack --password-stdin - docker build . --tag ghcr.io/mitre-attack/attack-workbench-taxii-server:${TAG:-latest} + docker build --no-cache --tag ghcr.io/mitre-attack/attack-workbench-taxii-server:${TAG:-latest} . docker push ghcr.io/mitre-attack/attack-workbench-taxii-server:${TAG:-latest} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}