mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-16 05:38:42 +00:00
finally fix syntax issues
This commit is contained in:
parent
e48109e530
commit
9e19e89de4
2 changed files with 24 additions and 24 deletions
4
.github/workflows/partial-publish.yaml
vendored
4
.github/workflows/partial-publish.yaml
vendored
|
@ -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 .
|
||||
|
|
44
.github/workflows/publish.yaml
vendored
44
.github/workflows/publish.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue