From 233e94cdc4121435ed205b1e9824d1d32733fde2 Mon Sep 17 00:00:00 2001 From: Rob Kaufman Date: Thu, 21 Mar 2024 11:25:20 -0500 Subject: [PATCH] build --- .github/workflows/build-test-lint.yaml | 1 + Dockerfile | 2 +- docker-compose.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test-lint.yaml b/.github/workflows/build-test-lint.yaml index 52ac11c..93a5e0e 100644 --- a/.github/workflows/build-test-lint.yaml +++ b/.github/workflows/build-test-lint.yaml @@ -21,6 +21,7 @@ jobs: secrets: inherit with: platforms: 'linux/amd64' + webTarget: web rspec-tests: needs: build uses: scientist-softserv/actions/.github/workflows/test.yaml@seperate_reports diff --git a/Dockerfile b/Dockerfile index d18898b..8670286 100644 --- a/Dockerfile +++ b/Dockerfile @@ -38,7 +38,7 @@ RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile # Final stage for app image -FROM base +FROM base as web # Install packages needed for deployment RUN apt-get update -qq && \ diff --git a/docker-compose.yml b/docker-compose.yml index 49ef9e5..4e5cd2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ version: '3.8' x-app: &app build: context: . + target: web image: ghcr.io/scientist-softserv/test_app:${TAG:-latest} volumes: - .:/rails