forked from mirrors/homebox
use =
This commit is contained in:
parent
b0f184a1b1
commit
e62529b314
1 changed files with 6 additions and 2 deletions
8
.github/workflows/partial-publish.yaml
vendored
8
.github/workflows/partial-publish.yaml
vendored
|
@ -47,12 +47,16 @@ jobs:
|
||||||
- name: build nightly the image
|
- name: build nightly the image
|
||||||
if: ${{ inputs.release == false }}
|
if: ${{ inputs.release == false }}
|
||||||
run: |
|
run: |
|
||||||
docker build --push --no-cache --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 .
|
docker build --push --no-cache \
|
||||||
|
--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
|
- name: build release tagged the image
|
||||||
if: ${{ inputs.release == true }}
|
if: ${{ inputs.release == true }}
|
||||||
run: |
|
run: |
|
||||||
docker build --push --no-cache \
|
docker build --push --no \
|
||||||
--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 }} \
|
||||||
|
|
Loading…
Reference in a new issue