Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/noma-build-custom-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

jobs:
build:
runs-on: arc-runners-prod
runs-on: ubuntu-latest
environment: prod
env:
AWS_REGION: us-east-1
Expand All @@ -34,7 +34,7 @@
IMAGE_NAME: litellm
steps:
- name: Checkout
uses: actions/checkout@v5

Check failure on line 37 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

unpinned-uses

noma-build-custom-image.yml:37: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
ref: ${{ inputs.ref || github.ref_name }}
fetch-depth: 0
Expand All @@ -43,19 +43,22 @@
- name: Resolve image tag (branch/tag name)
id: tag
shell: bash
run: echo "value=${{ inputs.ref || github.ref_name }}" >> "$GITHUB_OUTPUT"

Check failure on line 46 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

template-injection

noma-build-custom-image.yml:46: code injection via template expansion: may expand into attacker-controllable code

Check failure on line 46 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

template-injection

noma-build-custom-image.yml:46: code injection via template expansion: may expand into attacker-controllable code

- name: Set up QEMU (arm64 emulation on the GitHub-hosted runner)
uses: docker/setup-qemu-action@v3

Check failure on line 49 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

unpinned-uses

noma-build-custom-image.yml:49: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4

Check failure on line 52 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

unpinned-uses

noma-build-custom-image.yml:52: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Configure AWS credentials (OIDC)
uses: aws-actions/configure-aws-credentials@v6

Check failure on line 55 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

unpinned-uses

noma-build-custom-image.yml:55: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
role-to-assume: arn:aws:iam::381491951875:role/github-actions-region-deploy
aws-region: ${{ env.AWS_REGION }}

- name: Login to Amazon ECR
uses: docker/login-action@v4

Check failure on line 61 in .github/workflows/noma-build-custom-image.yml

View workflow job for this annotation

GitHub Actions / zizmor

unpinned-uses

noma-build-custom-image.yml:61: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
registry: ${{ env.AWS_ACCOUNT_ID }}.dkr.ecr.${{ env.AWS_REGION }}.amazonaws.com
username: AWS
Expand Down
Loading