finally fix syntax issues

This commit is contained in:
Hayden 2022-10-11 09:27:46 -08:00
parent e48109e530
commit 9e19e89de4
2 changed files with 24 additions and 24 deletions

View file

@ -48,7 +48,7 @@ jobs:
if: ${{ inputs.release == false }} if: ${{ inputs.release == false }}
run: | run: |
docker build --push --no-cache \ docker build --push --no-cache \
--tag=ghcr.io/hay-kot/homebox:nightly \ --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 .
@ -59,7 +59,7 @@ jobs:
docker build --push --no \ 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 }} \
--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 .

View file

@ -12,31 +12,31 @@ env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
jobs: jobs:
# backend-tests: backend-tests:
# name: "Backend Server Tests" name: "Backend Server Tests"
# uses: hay-kot/homebox/.github/workflows/partial-backend.yaml@main uses: hay-kot/homebox/.github/workflows/partial-backend.yaml@main
# frontend-tests: frontend-tests:
# name: "Frontend and End-to-End Tests" name: "Frontend and End-to-End Tests"
# uses: hay-kot/homebox/.github/workflows/partial-frontend.yaml@main uses: hay-kot/homebox/.github/workflows/partial-frontend.yaml@main
# deploy: deploy:
# name: "Deploy Nightly to Fly.io" name: "Deploy Nightly to Fly.io"
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: needs:
# - backend-tests - backend-tests
# - frontend-tests - frontend-tests
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v2
# - uses: superfly/flyctl-actions/setup-flyctl@master - uses: superfly/flyctl-actions/setup-flyctl@master
# - run: flyctl deploy --remote-only - run: flyctl deploy --remote-only
publish-nightly: publish-nightly:
name: "Publish Nightly" name: "Publish Nightly"
if: ${{ github.event_name != 'release' }} if: ${{ github.event_name != 'release' }}
# needs: needs:
# - backend-tests - backend-tests
# - frontend-tests - frontend-tests
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
with: with:
tag: nightly tag: nightly
@ -46,9 +46,9 @@ jobs:
publish-tag: publish-tag:
name: "Publish Tag" name: "Publish Tag"
if: github.event_name == 'release' if: github.event_name == 'release'
# needs: needs:
# - backend-tests - backend-tests
# - frontend-tests - frontend-tests
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
with: with:
release: true release: true