fix: add --no-cache to docker builds to prevent stale images
Docker layer caching on the runner was reusing old layers even when source code changed, resulting in images with outdated code.
This commit is contained in:
parent
a8784eec9c
commit
c9ef58a244
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ jobs:
|
||||||
-u "${{ github.repository_owner }}" --password-stdin
|
-u "${{ github.repository_owner }}" --password-stdin
|
||||||
|
|
||||||
# Build the image
|
# Build the image
|
||||||
docker build \
|
docker build --no-cache \
|
||||||
--build-arg "VERSION=${VERSION}" \
|
--build-arg "VERSION=${VERSION}" \
|
||||||
-t "${IMAGE}:${TAG}" \
|
-t "${IMAGE}:${TAG}" \
|
||||||
-t "${IMAGE}:${MAJOR}.${MINOR}" \
|
-t "${IMAGE}:${MAJOR}.${MINOR}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue