Skip to content

Commit 911ba72

Browse files
committed
ci: [torrust#634] build docker image only once
Removed the previous docker build becuase the cache is not being used in the runner build command. It builds again the image. todo: docker layers cache
1 parent bbc6733 commit 911ba72

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

.github/workflows/testing.yaml

+1-21
Original file line numberDiff line numberDiff line change
@@ -121,27 +121,7 @@ jobs:
121121
toolchain: [nightly]
122122

123123
steps:
124-
- id: setup-docker
125-
name: Setup Toolchain
126-
uses: docker/setup-buildx-action@v3
127-
128-
- id: build
129-
name: Build
130-
uses: docker/build-push-action@v5
131-
with:
132-
file: ./Containerfile
133-
push: false
134-
load: true
135-
target: release
136-
tags: torrust-tracker:local
137-
cache-from: type=gha
138-
cache-to: type=gha
139-
140-
- id: inspect
141-
name: Inspect
142-
run: docker image inspect torrust-tracker:local
143-
144-
- id: setup-rust
124+
- id: setup
145125
name: Setup Toolchain
146126
uses: dtolnay/rust-toolchain@stable
147127
with:

0 commit comments

Comments
 (0)