mirror of
https://github.com/hay-kot/homebox.git
synced 2024-12-23 15:26:31 +00:00
use > instead of |
This commit is contained in:
parent
6a6e9e842e
commit
2dc765efdf
1 changed files with 14 additions and 15 deletions
29
.github/workflows/partial-publish.yaml
vendored
29
.github/workflows/partial-publish.yaml
vendored
|
@ -46,21 +46,20 @@ jobs:
|
||||||
|
|
||||||
- name: build nightly the image
|
- name: build nightly the image
|
||||||
if: ${{ inputs.release == false }}
|
if: ${{ inputs.release == false }}
|
||||||
run: |
|
run: >
|
||||||
docker build --push --tag ghcr.io/hay-kot/homebox:{{ inputs.tag }} \
|
docker build --push
|
||||||
--build-arg COMMIT=$(git rev-parse HEAD) \
|
--tag ghcr.io/hay-kot/homebox:{{ inputs.tag }}
|
||||||
--build-arg BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
--build-arg COMMIT=$(git rev-parse HEAD)
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--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
|
- name: build release tagged the image
|
||||||
if: ${{ inputs.release == true }}
|
if: ${{ inputs.release == true }}
|
||||||
run: |
|
run: >
|
||||||
docker build --push \
|
docker build --push
|
||||||
--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 }}
|
||||||
--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")
|
||||||
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
--platform linux/amd64,linux/arm64,linux/arm/v7 .
|
||||||
.
|
|
||||||
|
|
Loading…
Reference in a new issue