Skip to content

Commit 3dc59cf

Browse files
committed
Added no-cache
1 parent 51b3f46 commit 3dc59cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/perl-slim.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Generate timestamp
2323
run: echo "TIMESTAMP=$(date +%Y%m%d)" >> $GITHUB_ENV
2424
- name: Generate new cpanfile and cpanfile.snapshot
25-
run: docker build -t bmo-cpanfile -f Dockerfile.cpanfile .
25+
run: docker build -t bmo-cpanfile --no-cache -f Dockerfile.cpanfile .
2626
- name: Copy the new cpanfile and cpanfile.snapshot from image
2727
run: |
2828
docker run -v $(pwd):/app/result bmo-cpanfile cp cpanfile cpanfile.snapshot /app/result
@@ -53,5 +53,6 @@ jobs:
5353
tags: |
5454
${{ env.GAR_LOCATION }}-docker.pkg.dev/${{ env.GCP_PROJECT_ID }}/${{ env.GAR_REPOSITORY }}/bmo-perl-slim:${{ env.TIMESTAMP }}
5555
push: true
56+
no-cache: true
5657
cache-from: type=gha
5758
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)