Skip to content

fix: update branch name #2

fix: update branch name

fix: update branch name #2

Workflow file for this run

on:
workflow_call:
inputs:
aws_ecr_registry:
description: |
The AWS ECR registry that will be used to publish images
required: false
type: string
aws_role_arn:
description: |
The ARN of the AWS role that will be assumed by the workflow. Only
required when configuring a remote Earthly runner or AWS ECR.
required: false
type: string
aws_region:
description: |
The AWS region that will be used by the workflow. Only required when
configuring a remote Earthly runner or AWS ECR.
required: false
type: string
ci_cli_version:
description: |
The version of the CI CLI to use.
required: false
type: string
default: latest
default_branch:
description: |
The default branch of the repository.
required: false
type: string
default: ${{ github.event.repository.default_branch }}
deployment_images:
description: A newline separated list of image names to deploy
required: false
type: string
deployment_repo:
description: The URL of the repository containing deployment code
required: false
type: string
default: input-output-hk/catalyst-world
earthly_version:
description: The version of Earthly to use.
required: false
type: string
default: latest
force_artifact:
description: |
When set to true, the workflow will always produce a release artifact
even when the current commit is not tagged.
required: false
type: boolean
default: false
publish_docs:
description: |
When set to true, the workflow will publish documentation to GitHub
pages.
required: false
type: boolean
default: true
skip_publish_on_default:
description: |
If set to true, images will not be published when the workflow is
triggered by a push to the default branch.
required: false
type: boolean
default: false
tags:
description: |
A line separated list of additional tags that will be applied to
published images.
required: false
type: string
secrets:
deployment_token:
description: A Github token with access to the deployment repository.
required: false
dockerhub_username:
description: The token to use for logging into the DockerHub registry.
required: false
dockerhub_token:
description: The token to use for logging into the DockerHub registry.
required: false
earthly_runner_address:
description: |
The address of the Earthly runner that will be used to build the
Earthly files.
required: false
earthly_runner_secret:
description: |
The ID of the AWS secret holding Earthly remote runner credentials.
This secret must contain the runner address and the necessary TLS
certificates required to authenticate with it. If omitted, a remote
Earthly runner will not be configured.
required: false
jobs:
check:
uses: ./.github/workflows/run.yml
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthly_version: ${{ inputs.earthly_version }}
target: check check-*
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
build:
uses: ./.github/workflows/run.yml
needs: [check]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthly_version: ${{ inputs.earthly_version }}
target: build
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
package:
uses: ./.github/workflows/run.yml
needs: [build, check]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthly_version: ${{ inputs.earthly_version }}
target: package
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
test:
uses: ./.github/workflows/run.yml
needs: [build, check, package]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthly_version: ${{ inputs.earthly_version }}
target: test test-*
privileged: true
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
docs:
uses: ./.github/workflows/pages.yml
if: inputs.publish_docs == true
needs: [build, check, package, test]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthfile: ./docs
target: docs
secrets:
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
release:
uses: ./.github/workflows/release.yml
needs: [build, check, package, test]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
earthly_version: ${{ inputs.earthly_version }}
force_artifact: ${{ inputs.force_artifact }}
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
publish:
uses: ./.github/workflows/publish.yml
needs: [build, check, package, test]
with:
aws_ecr_registry: ${{ inputs.aws_ecr_registry }}
aws_role_arn: ${{ inputs.aws_role_arn }}
aws_region: ${{ inputs.aws_region }}
ci_cli_version: ${{ inputs.ci_cli_version }}
default_branch: ${{ inputs.default_branch }}
earthly_version: ${{ inputs.earthly_version }}
skip_publish_on_default: ${{ inputs.skip_publish_on_default }}
tags: ${{ inputs.tags }}
secrets:
dockerhub_token: ${{ secrets.dockerhub_token }}
dockerhub_username: ${{ secrets.dockerhub_username }}
earthly_runner_address: ${{ secrets.earthly_runner_address }}
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
deploy:
uses: input-output-hk/catalyst-ci/.github/workflows/deploy.yml@@feat/udcmigration

Check failure on line 199 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

invalid value workflow reference: too many '@' in workflow reference
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && inputs.deployment_images != ''
needs: [publish]
with:
deployment_repo: ${{ inputs.deployment_repo }}
images: ${{ inputs.deployment_images }}
secrets:
token: ${{ secrets.deployment_token }}