From 1a69265601cf88e9c61982f39393f96db519f6f9 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Tue, 11 Oct 2022 09:15:10 -0800 Subject: [PATCH] ?!?!?!? --- .github/workflows/partial-publish.yaml | 30 ++++++++++++-------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/partial-publish.yaml b/.github/workflows/partial-publish.yaml index c535a74..c0cd7e3 100644 --- a/.github/workflows/partial-publish.yaml +++ b/.github/workflows/partial-publish.yaml @@ -45,21 +45,19 @@ jobs: CR_PAT: ${{ secrets.GH_TOKEN }} - 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") + 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 . + # - name: build release tagged the image + # 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 .