Skip to content

Commit

Permalink
refactor: rename docker-push target to container
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Aug 10, 2024
1 parent bf8adf3 commit 81fd7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- run: echo "DOCKER_API_TAG=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV

- run: npx nx run cat-fostering-api:docker-push --skip-nx-cache --no-agents --platforms=linux/amd64 --load=true --push=false --tags='ghcr.io/getlarge/cat-fostering/cat-fostering-api:${{ env.DOCKER_API_TAG }}'
- run: npx nx run cat-fostering-api:container --skip-nx-cache --no-agents --platforms=linux/amd64 --load=true --push=false --tags='ghcr.io/getlarge/cat-fostering/cat-fostering-api:${{ env.DOCKER_API_TAG }}'

# can't use --wait --wait-timeout N options since Keto and Kratos migrate containers will exit before the Keto and Kratos services are ready
- run: npx @dotenvx/dotenvx run -- docker compose --profile ci -p cat-fostering up -d
Expand Down
2 changes: 1 addition & 1 deletion apps/cat-fostering-api/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
}
},
"docker-push": {
"container": {
"executor": "@nx-tools/nx-container:build",
"inputs": [
"dockerFiles",
Expand Down

0 comments on commit 81fd7c6

Please sign in to comment.