add no-cache

This commit is contained in:
Hayden 2022-10-11 09:16:51 -08:00
parent 3198800329
commit 6960b235ea

View file

@ -47,7 +47,7 @@ jobs:
- name: build nightly the image - name: build nightly the image
if: ${{ inputs.release == false }} if: ${{ inputs.release == false }}
run: | run: |
docker build --push \ docker build --push --no-cache \
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \ --tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \
--build-arg COMMIT=$(git rev-parse HEAD) \ --build-arg COMMIT=$(git rev-parse HEAD) \
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \ --build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
@ -56,7 +56,7 @@ jobs:
- name: build release tagged the image - name: build release tagged the image
if: ${{ inputs.release == true }} if: ${{ inputs.release == true }}
run: | run: |
docker build --push \ docker build --push --no-cache \
--tag ghcr.io/hay-kot/homebox:nightly \ --tag ghcr.io/hay-kot/homebox:nightly \
--tag ghcr.io/hay-kot/homebox:latest \ --tag ghcr.io/hay-kot/homebox:latest \
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \ --tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \