wip: move to forgejo actions
Some checks failed
Release / Build gatus with pre-packaged web assets (push) Failing after 1s
Some checks failed
Release / Build gatus with pre-packaged web assets (push) Failing after 1s
This commit is contained in:
parent
a5413ccd14
commit
0093ae01b2
1 changed files with 4 additions and 5 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
|
@ -3,7 +3,7 @@ name: Release
|
||||||
env:
|
env:
|
||||||
PKG_VERSION: "2026.07.28"
|
PKG_VERSION: "2026.07.28"
|
||||||
# TODO: actions/checkout only supports GITHUB repos...
|
# TODO: actions/checkout only supports GITHUB repos...
|
||||||
GATUS_REPO: "selfhoster1312/gatus"
|
GATUS_REPO: "https://github.com/selfhoster1312/gatus"
|
||||||
GATUS_REF: "d65a3321f1291aa419870a04896aa65fc4c78cf4"
|
GATUS_REF: "d65a3321f1291aa419870a04896aa65fc4c78cf4"
|
||||||
# Preview mode: Publishes the build output as a CI artifact instead of creating
|
# Preview mode: Publishes the build output as a CI artifact instead of creating
|
||||||
# a release, allowing for manual inspection of the output. This mode is
|
# a release, allowing for manual inspection of the output. This mode is
|
||||||
|
|
@ -24,7 +24,6 @@ on:
|
||||||
- '.github/workflows/release.yml'
|
- '.github/workflows/release.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|
@ -33,7 +32,7 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build gatus with pre-packaged web assets
|
name: Build gatus with pre-packaged web assets
|
||||||
runs-on: ubuntu-22.04
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v7
|
uses: actions/checkout@v7
|
||||||
|
|
@ -56,7 +55,7 @@ jobs:
|
||||||
go build -o dist/gatus-amd64
|
go build -o dist/gatus-amd64
|
||||||
cp dist/gatus-amd64 __CI_PREBUILD__/debian/gatus/usr/local/bin/gatus
|
cp dist/gatus-amd64 __CI_PREBUILD__/debian/gatus/usr/local/bin/gatus
|
||||||
- name: Build deb for amd64
|
- name: Build deb for amd64
|
||||||
uses: jiro4989/build-deb-action@86e86ceb88b13157fa569663d43c89346505fc3e
|
uses: https://github.com/jiro4989/build-deb-action@86e86ceb88b13157fa569663d43c89346505fc3e
|
||||||
with:
|
with:
|
||||||
package: gatus
|
package: gatus
|
||||||
package_root: __CI_PREBUILD__/debian/gatus
|
package_root: __CI_PREBUILD__/debian/gatus
|
||||||
|
|
@ -70,7 +69,7 @@ jobs:
|
||||||
GOARCH="arm64" go build -o dist/gatus-arm64
|
GOARCH="arm64" go build -o dist/gatus-arm64
|
||||||
cp dist/gatus-arm64 __CI_PREBUILD__/debian/gatus/usr/local/bin/gatus
|
cp dist/gatus-arm64 __CI_PREBUILD__/debian/gatus/usr/local/bin/gatus
|
||||||
- name: Build deb for arm64
|
- name: Build deb for arm64
|
||||||
uses: jiro4989/build-deb-action@86e86ceb88b13157fa569663d43c89346505fc3e
|
uses: https://github.com/jiro4989/build-deb-action@86e86ceb88b13157fa569663d43c89346505fc3e
|
||||||
with:
|
with:
|
||||||
package: gatus
|
package: gatus
|
||||||
package_root: __CI_PREBUILD__/debian/gatus
|
package_root: __CI_PREBUILD__/debian/gatus
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue