diff --git a/.circleci/config.yml b/.circleci/config.yml index 1fceb70..ef9d51d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ jobs: command: cd /usr/local && { curl -L https://dl.dagger.io/dagger/install.sh | sudo sh; cd -; } - run: name: Dagger Test Pipeline - command: dagger call --progress plain ci --dir https://github.com/kpenfound/greetings-api\#${CIRCLE_SHA1} + command: dagger call --progress plain ci --source https://github.com/kpenfound/greetings-api\#${CIRCLE_SHA1} workflows: test: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2edf049..ed706f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: release on: push: tags: - - '**' + - "**" jobs: release: name: release @@ -11,7 +11,7 @@ jobs: - name: Dagger uses: kpenfound/dagger-action@main with: - args: ci --dir https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} --release --tag $GITHUB_REF_NAME --infisical-token ${{ secrets.INFISICAL_TOKEN }} --infisical-project 6545b34313c9b9239b0f7183 + args: ci --source https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} --release --tag $GITHUB_REF_NAME --infisical-token ${{ secrets.INFISICAL_TOKEN }} --infisical-project 6545b34313c9b9239b0f7183 module: github.com/kpenfound/greetings-api cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} version: "0.10.2" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a72efb..ebc755f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,7 @@ name: ci on: push: - branches: [main] + branches: ["**"] pull_request: jobs: ci: @@ -11,7 +11,7 @@ jobs: - name: Dagger uses: kpenfound/dagger-action@main with: - args: ci --dir https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} + args: ci --source https://github.com/kpenfound/greetings-api\#${GITHUB_REF_NAME} module: github.com/kpenfound/greetings-api cloud-token: ${{ secrets.DAGGER_CLOUD_TOKEN }} version: "0.10.2"