mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-16 05:38:42 +00:00
maybe?
This commit is contained in:
parent
00c3e1bfc9
commit
340b9ac43d
2 changed files with 15 additions and 15 deletions
8
.github/workflows/partial-publish.yaml
vendored
8
.github/workflows/partial-publish.yaml
vendored
|
@ -48,7 +48,7 @@ jobs:
|
|||
if: ${{ inputs.release == false }}
|
||||
run: |
|
||||
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 BUILD_TIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/v7 .
|
||||
|
@ -57,9 +57,9 @@ jobs:
|
|||
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 }} \
|
||||
--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 .
|
||||
|
|
22
.github/workflows/publish.yaml
vendored
22
.github/workflows/publish.yaml
vendored
|
@ -31,6 +31,17 @@ jobs:
|
|||
- uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
- run: flyctl deploy --remote-only
|
||||
|
||||
publish-nightly:
|
||||
name: "Publish Nightly"
|
||||
needs:
|
||||
- backend-tests
|
||||
- frontend-tests
|
||||
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
|
||||
with:
|
||||
tag: nightly
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.CR_PAT }}
|
||||
|
||||
publish-tag:
|
||||
if: github.event_name == 'release'
|
||||
name: "Publish Tag"
|
||||
|
@ -44,17 +55,6 @@ jobs:
|
|||
secrets:
|
||||
GH_TOKEN: ${{ secrets.CR_PAT }}
|
||||
|
||||
publish-nightly:
|
||||
name: "Publish Nightly"
|
||||
needs:
|
||||
- backend-tests
|
||||
- frontend-tests
|
||||
uses: hay-kot/homebox/.github/workflows/partial-publish.yaml@main
|
||||
with:
|
||||
tag: nightly
|
||||
secrets:
|
||||
GH_TOKEN: ${{ secrets.CR_PAT }}
|
||||
|
||||
deploy-docs:
|
||||
name: Deploy docs
|
||||
needs:
|
||||
|
|
Loading…
Reference in a new issue