Skip to content

Update module dagger.io/dagger to v0.14.0 #538

Update module dagger.io/dagger to v0.14.0

Update module dagger.io/dagger to v0.14.0 #538

Workflow file for this run

name: 'ci'
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
types: [opened, reopened, synchronize]
permissions:
id-token: write # Important for at least docker gha cache
contents: read
jobs:
dagger:
runs-on: ubuntu-latest
services:
argocd-redis:
image: redis
ports:
- "6379:6379"
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup go
uses: actions/setup-go@v5
with:
go-version: '>=1.20'
-
name: Install
run: go get dagger.io/dagger@latest
-
name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
-
name: Release and deploy with Dagger
run: |
export _EXPERIMENTAL_DAGGER_CACHE_CONFIG="type=gha,mode=max,url=$ACTIONS_CACHE_URL,token=$ACTIONS_RUNTIME_TOKEN"
go run ci/main.go
env:
REGISTRY_PASSWORD: '${{ secrets.REGISTRY_PASSWORD }}'
REGISTRY_USER: '${{ secrets.REGISTRY_USER }}'
GITHUB_ACCESS_TOKEN: '${{ secrets.GH_ACCESS_TOKEN }}'
REGISTRY_URL: '${{ secrets.REGISTRY_URL }}'