use > instead of |

This commit is contained in:
Hayden 2022-10-11 09:13:39 -08:00
parent 6a6e9e842e
commit 2dc765efdf
1 changed files with 14 additions and 15 deletions

View File

@ -46,21 +46,20 @@ jobs:
- name: build nightly the image
if: ${{ inputs.release == false }}
run: |
docker build --push --tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \
--build-arg COMMIT=$(git rev-parse HEAD) \
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--platform linux/amd64,linux/arm64,linux/arm/v7 \
.
run: >
docker build --push
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }}
--build-arg COMMIT=$(git rev-parse HEAD)
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
--platform linux/amd64,linux/arm64,linux/arm/v7 .
- name: build release tagged the image
if: ${{ inputs.release == true }}
run: |
docker build --push \
--tag ghcr.io/hay-kot/homebox:nightly \
--tag ghcr.io/hay-kot/homebox:latest \
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \
--build-arg COMMIT=$(git rev-parse HEAD) \
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--platform linux/amd64,linux/arm64,linux/arm/v7 \
.
run: >
docker build --push
--tag ghcr.io/hay-kot/homebox:nightly
--tag ghcr.io/hay-kot/homebox:latest
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }}
--build-arg COMMIT=$(git rev-parse HEAD)
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
--platform linux/amd64,linux/arm64,linux/arm/v7 .