Skip to content

Extension to release to AWS CodeArtifact #885

@markrichardson

Description

@markrichardson

Problem / motivation

Not clear if this is already supported. If not, let's extend ...

possibly required in rhiza_release.yml?

- name: Configure AWS credentials
  if: ${{ steps.check_dist.outputs.should_publish == 'true' }}
  uses: aws-actions/configure-aws-credentials@v4
  with:
    role-to-assume: ${{ vars.AWS_ROLE_ARN }}
    aws-region: eu-west-2

- name: Get CodeArtifact token
  if: ${{ steps.check_dist.outputs.should_publish == 'true' }}
  id: codeartifact
  run: |
    TOKEN=$(aws codeartifact get-authorization-token \
      --domain ringfinity --region eu-west-2 \
      --query authorizationToken --output text)
    echo "::add-mask::$TOKEN"
    echo "token=$TOKEN" >> "$GITHUB_OUTPUT"

Proposed solution

Let's get claude to see what (if anything) is required to get this running.

Alternatives considered

No response

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions