From 81fd7c61ca97d4c7adaccf17943d4bf91624d6c4 Mon Sep 17 00:00:00 2001 From: Edouard Maleix Date: Sat, 10 Aug 2024 14:53:58 +0200 Subject: [PATCH] refactor: rename docker-push target to container --- .github/workflows/ci.yml | 2 +- apps/cat-fostering-api/project.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61c5016..91621a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/apps/cat-fostering-api/project.json b/apps/cat-fostering-api/project.json index 9db967a..9ec8d14 100644 --- a/apps/cat-fostering-api/project.json +++ b/apps/cat-fostering-api/project.json @@ -44,7 +44,7 @@ } } }, - "docker-push": { + "container": { "executor": "@nx-tools/nx-container:build", "inputs": [ "dockerFiles",