Skip to content

Build UID2 and EUID AMIs for Operator Release by @thomasm-ttd #17

Build UID2 and EUID AMIs for Operator Release by @thomasm-ttd

Build UID2 and EUID AMIs for Operator Release by @thomasm-ttd #17

Workflow file for this run

name: Build UID2 and EUID AMIs
run-name: Build UID2 and EUID AMIs for Operator Release ${{ inputs.operator_release }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
operator_run_number:
description: The Operator run number. Ignored if Release Number specified.
type: string
jobs:
buildUID2:
name: UID2 Operator AMI
runs-on: ubuntu-latest
permissions:
id-token: write
outputs:
version_number: ${{ steps.buildAMI.outputs.version_number }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
# - name: Pre-cleanup
# shell: bash
# working-directory: ${{ github.workspace }}
# run: |
# echo "Cleaning up previous run"
# sudo rm -rf * || true
# docker stop $(docker ps -aq) || true
# docker rm $(docker ps -aq) || true
# docker rmi $(docker images -q) || true
- name: Build UID2 Operator AMI
id: buildAMI
uses: ./.github/actions/build_ami
with:
identity_scope: euid
operator_run_number: ${{ inputs.operator_run_number }}
github-token: ${{ secrets.GITHUB_TOKEN }}