mirror of
https://github.com/licsber/Dockerfile.git
synced 2024-09-20 02:30:26 +08:00
add no cache.
This commit is contained in:
parent
cc8b6ba2a9
commit
e69f9864f1
@ -33,7 +33,7 @@ jobs:
|
||||
$TAG = "${{ env.TAG }}"
|
||||
|
||||
$BUILD_DIR = Split-Path -Parent "${{ env.DOCKERFILE }}"
|
||||
docker build -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} $BUILD_DIR
|
||||
docker build --no-cache -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} $BUILD_DIR
|
||||
|
||||
- name: Push Image
|
||||
run: |
|
||||
|
@ -33,7 +33,7 @@ jobs:
|
||||
$TAG = "${{ env.TAG }}"
|
||||
|
||||
$BUILD_DIR = Split-Path -Parent "${{ env.DOCKERFILE }}"
|
||||
docker build -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} $BUILD_DIR
|
||||
docker build --no-cache -t "${IMAGE}:${TAG}" --file ${{ env.DOCKERFILE }} $BUILD_DIR
|
||||
|
||||
- name: Push Image
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user