This commit is contained in:
Hayden 2022-10-11 09:01:30 -08:00
parent 340b9ac43d
commit 3aae71ee18

View file

@ -48,7 +48,7 @@ jobs:
if: ${{ inputs.release == false }} if: ${{ inputs.release == false }}
run: | run: |
docker build --push \ docker build --push \
--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 .
@ -57,9 +57,9 @@ jobs:
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 .