Skip to content

Commit bbac7ba

Browse files
authored
fix: add nudenet workflow (#2000)
1 parent 9bbac6d commit bbac7ba

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/nudenet.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,27 @@ jobs:
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v5
18+
19+
- name: Checkout Nudenet
20+
uses: actions/checkout@v5
21+
with:
22+
repository: 'graasp/NudeNet'
23+
path: nudenet
24+
25+
- name: Configure AWS Credentials
26+
uses: aws-actions/configure-aws-credentials@v4
27+
with:
28+
role-to-assume: ${{ vars.AWS_ROLE_ARN }}
29+
aws-region: ${{ vars.AWS_REGION }}
30+
31+
- name: Auth to the ECR
32+
run: bash ./docker/auth.sh ${{ vars.GRAASP_PUBLIC_ECR }} ${{ vars.AWS_REGION }}
33+
shell: bash
34+
35+
- name: Build the Nudenet image
36+
run: |
37+
docker build -t ${TAG} -f nudenet/fastdeploy_recipe/fastDeploy.auto_dockerfile ./nudenet/fastdeploy_recipe/
38+
docker push ${TAG}
39+
shell: bash
40+
env:
41+
TAG: '${{ vars.GRAASP_PUBLIC_ECR }}/graasp:nudenet-latest'

0 commit comments

Comments
 (0)