We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bbac6d commit bbac7baCopy full SHA for bbac7ba
1 file changed
.github/workflows/nudenet.yml
@@ -15,3 +15,27 @@ jobs:
15
steps:
16
- name: Checkout
17
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
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
40
+ env:
41
+ TAG: '${{ vars.GRAASP_PUBLIC_ECR }}/graasp:nudenet-latest'
0 commit comments