File tree Expand file tree Collapse file tree 6 files changed +29
-4
lines changed
Expand file tree Collapse file tree 6 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "scope" : " moj-analytical-services/octo-sts-1" ,
4+ "identity" : " analytical-platform-python-uv-example" ,
5+ "branch" : " main"
6+ },
7+ {
8+ "scope" : " moj-analytical-services/octo-sts-2" ,
9+ "identity" : " analytical-platform-python-uv-example" ,
10+ "branch" : " main"
11+ },
12+ {
13+ "scope" : " ministryofjustice/octo-sts-test" ,
14+ "identity" : " moj-analytical-services-analytical-platform-python-uv-example" ,
15+ "branch" : " main"
16+ }
17+ ]
Original file line number Diff line number Diff line change 1313 permissions :
1414 contents : read
1515 id-token : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@2535a999924998baeb46c740720a61523ca8efa9 # v1.11 .0
16+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-release-container.yml@fe80a7bd4ad022fb14e50b94637baef2e564013c # v2.0 .0
Original file line number Diff line number Diff line change 1212 scan-container :
1313 permissions :
1414 contents : read
15+ id-token : write
1516 pull-requests : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@2535a999924998baeb46c740720a61523ca8efa9 # v1.11 .0
17+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-scan-container.yml@fe80a7bd4ad022fb14e50b94637baef2e564013c # v2.0 .0
1718 with :
1819 runtime : python
Original file line number Diff line number Diff line change 1212 test-container :
1313 permissions :
1414 contents : read
15+ id-token : write
1516 pull-requests : write
16- uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@2535a999924998baeb46c740720a61523ca8efa9 # v1.11 .0
17+ uses : ministryofjustice/analytical-platform-airflow-github-actions/.github/workflows/shared-test-container.yml@fe80a7bd4ad022fb14e50b94637baef2e564013c # v2.0 .0
Original file line number Diff line number Diff line change @@ -14,13 +14,18 @@ jobs:
1414 runs-on : ubuntu-latest
1515 permissions :
1616 contents : read
17+ id-token : write
1718 steps :
1819 - name : Checkout
1920 id : checkout
2021 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2122 with :
2223 persist-credentials : false
2324
25+ - name : Octo STS
26+ id : octo_sts
27+ uses : ministryofjustice/analytical-platform-github-actions/octo-sts@8b6e720fdc9ecc1fd16342f88d84496ebdd6b244 # v3.0.0
28+
2429 - name : Build
2530 id : build
2631 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ FROM ghcr.io/ministryofjustice/analytical-platform-airflow-python-base:1.14.0@sh
44ENV UV_COMPILE_BYTECODE=1
55
66COPY src/ .
7+ # COPY moj-analytical-services/octo-sts-1 octo-sts-1
78
89RUN --mount=type=bind,source=pyproject.toml,target=pyproject.toml \
910 --mount=type=bind,source=uv.lock,target=uv.lock \
1011<<EOF
11- uv sync --frozen --no-dev --no-editable --no-install-project
12+ uv sync --frozen --no-dev --no-editable --no-install-project
1213EOF
1314
1415ENTRYPOINT ["uv" , "run" , "main.py" ]
You can’t perform that action at this time.
0 commit comments