Skip to content

Commit e4f5c23

Browse files
authored
Update main.yml
1 parent 9e134d2 commit e4f5c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636
if: env.CACHE_HIT != 'true'
3737
shell: pwsh
3838
run: |
39-
docker build -f docker/mount.dockerfile -t app:latest .
39+
docker build -t app:latest .
4040
4141
- name: Build Image With Cache
4242
if: env.CACHE_HIT == 'true'
4343
shell: pwsh
4444
run: |
4545
New-Item -Path build.log -ItemType File -Force
46-
docker build --cache-from app:latest -f docker/mount.dockerfile -t app:latest . | Tee-Object -FilePath build.log
46+
docker build --cache-from app:latest -t app:latest . | Tee-Object -FilePath build.log
4747
$cache_hits = (Get-Content build.log | Select-String -Pattern '---> Using cache' | Measure-Object).Count
4848
$steps_with_cache = (Get-Content build.log | Select-String -Pattern '^Step [0-9]+/' | Where-Object { $_ -notmatch 'FROM' } | Measure-Object).Count
4949
if ($cache_hits -eq $steps_with_cache) {

0 commit comments

Comments
 (0)