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 }}
run: |
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=BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--platform=linux/amd64,linux/arm64,linux/arm/v7 .
@ -59,7 +59,7 @@ jobs:
docker build --push --no \
--tag ghcr.io/hay-kot/homebox:nightly \
--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 BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--platform linux/amd64,linux/arm64,linux/arm/v7 .

View file

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