ci: fixed github action
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
parent
637a3c9efd
commit
eec7bc0a95
12
.github/workflows/dagger-ci.yml
vendored
12
.github/workflows/dagger-ci.yml
vendored
@ -26,17 +26,19 @@ on:
|
|||||||
- 'go.sum'
|
- 'go.sum'
|
||||||
- '.github/workflows/dagger-ci.yml'
|
- '.github/workflows/dagger-ci.yml'
|
||||||
|
|
||||||
|
env:
|
||||||
|
DAGGER_LOG_FORMAT: plain
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
name: Dagger
|
name: Dagger CI
|
||||||
uses: dagger/dagger-for-github@v1
|
uses: dagger/dagger-for-github@v2
|
||||||
with:
|
with:
|
||||||
age-key: ${{ secrets.DAGGER_AGE_KEY }}
|
workdir: ci
|
||||||
args: up ./ci
|
args: do build
|
||||||
|
@ -9,7 +9,9 @@ dagger.#Plan & {
|
|||||||
|
|
||||||
// FIXME: Ideally we would want to automatically set the platform's arch identical to the host
|
// FIXME: Ideally we would want to automatically set the platform's arch identical to the host
|
||||||
// to avoid the performance hit caused by qemu (linter goes from <3s to >3m when arch is x86)
|
// to avoid the performance hit caused by qemu (linter goes from <3s to >3m when arch is x86)
|
||||||
platform: "linux/aarch64"
|
// Uncomment if running locally on Mac M1 to bypass qemu
|
||||||
|
// platform: "linux/aarch64"
|
||||||
|
platform: "linux/amd64"
|
||||||
|
|
||||||
client: filesystem: {
|
client: filesystem: {
|
||||||
"../": read: exclude: [
|
"../": read: exclude: [
|
||||||
|
Reference in New Issue
Block a user