update README #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/buildx.yml | |
- "buildx/**" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Fluent CI | |
uses: fluentci-io/setup-fluentci@v4 | |
- name: Run Dagger Pipelines | |
run: | | |
deno run -A src/dagger/list_jobs.ts | |
dagger functions | |
dagger call build --src . --path example --tag demo:latest --platform linux/amd64,linux/arm64 | |
working-directory: buildx | |
publish: | |
needs: test | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.41 | |
- name: Publish package | |
run: deno publish --allow-slow-types | |
working-directory: buildx |