From 4152199f3b2d242bb5b7713d5acac6a4c1f1502b Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Wed, 2 Aug 2023 08:47:53 -0500 Subject: [PATCH] build nightly rootless Former-commit-id: 275e106d7235b1d9da583926dc92fa08512b5271 --- .github/workflows/partial-publish.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/partial-publish.yaml b/.github/workflows/partial-publish.yaml index 698665c..837a3b5 100644 --- a/.github/workflows/partial-publish.yaml +++ b/.github/workflows/partial-publish.yaml @@ -44,7 +44,7 @@ jobs: env: CR_PAT: ${{ secrets.GH_TOKEN }} - - name: build nightly the image + - name: build nightly image if: ${{ inputs.release == false }} run: | docker build --push --no-cache \ @@ -53,6 +53,16 @@ jobs: --build-arg=BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \ --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 if: ${{ inputs.release == true }} run: |