forked from mirrors/homebox
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 }}
|
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 .
|
||||||
|
|
22
.github/workflows/publish.yaml
vendored
22
.github/workflows/publish.yaml
vendored
|
@ -31,6 +31,17 @@ jobs:
|
||||||
- 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:
|
||||||
|
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:
|
publish-tag:
|
||||||
if: github.event_name == 'release'
|
if: github.event_name == 'release'
|
||||||
name: "Publish Tag"
|
name: "Publish Tag"
|
||||||
|
@ -44,17 +55,6 @@ jobs:
|
||||||
secrets:
|
secrets:
|
||||||
GH_TOKEN: ${{ secrets.CR_PAT }}
|
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:
|
deploy-docs:
|
||||||
name: Deploy docs
|
name: Deploy docs
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in a new issue