forked from mirrors/homebox
build nightly rootless
This commit is contained in:
parent
3f0e65a2ad
commit
275e106d72
1 changed files with 11 additions and 1 deletions
12
.github/workflows/partial-publish.yaml
vendored
12
.github/workflows/partial-publish.yaml
vendored
|
@ -44,7 +44,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CR_PAT: ${{ secrets.GH_TOKEN }}
|
CR_PAT: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
- name: build nightly the image
|
- name: build nightly image
|
||||||
if: ${{ inputs.release == false }}
|
if: ${{ inputs.release == false }}
|
||||||
run: |
|
run: |
|
||||||
docker build --push --no-cache \
|
docker build --push --no-cache \
|
||||||
|
@ -53,6 +53,16 @@ jobs:
|
||||||
--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 .
|
||||||
|
|
||||||
|
- name: build nightly-rootless image
|
||||||
|
if: ${{ inputs.release == false }}
|
||||||
|
run: |
|
||||||
|
docker build --push --no-cache \
|
||||||
|
--tag=ghcr.io/hay-kot/homebox:${{ inputs.tag }}-rootless \
|
||||||
|
--build-arg=COMMIT=$(git rev-parse HEAD) \
|
||||||
|
--build-arg=BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
||||||
|
--file Dockerfile.rootless \
|
||||||
|
--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: |
|
||||||
|
|
Loading…
Reference in a new issue