Compare commits
	
		
			4 Commits
		
	
	
		
			dcea73b64d
			...
			492c8e362a
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 492c8e362a | |||
| c5c7ea6d54 | |||
| e175a3dd34 | |||
| a8f0302bb9 | 
| @ -1,6 +1,9 @@ | ||||
| name: Build Nginx-based docker image | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - main | ||||
|   pull_request: | ||||
| concurrency: | ||||
|   group: ${{ github.ref }} | ||||
|   cancel-in-progress: true | ||||
|  | ||||
| @ -14,9 +14,7 @@ jobs: | ||||
|         - uses: actions/checkout@v4 | ||||
|           with: | ||||
|             token: ${{ secrets.GITHUB_TOKEN }} | ||||
|         - uses: ruby/setup-ruby@v1.202.0 | ||||
|           with: | ||||
|             ruby-version: '3.3.6' | ||||
|         - uses: ruby/setup-ruby@v1 | ||||
|         - name: Install project dependencies | ||||
|           run: bundle install --jobs `getconf _NPROCESSORS_ONLN` | ||||
|         - name: Run license finder | ||||
|  | ||||
| @ -1 +1 @@ | ||||
| ruby-3.3.6 | ||||
| ruby-3.4.1 | ||||
|  | ||||
| @ -1,8 +1,8 @@ | ||||
| # syntax = docker/dockerfile:1 | ||||
| 
 | ||||
| # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile | ||||
| ARG RUBY_VERSION=3.3.6 | ||||
| FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base | ||||
| ARG RUBY_VERSION=3.4.1 | ||||
| FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base | ||||
| 
 | ||||
| # Rails app lives here | ||||
| WORKDIR /rails | ||||
| @ -16,7 +16,7 @@ ENV RAILS_ENV="production" \ | ||||
| RUN apt-get update && apt-get install -y nodejs | ||||
| 
 | ||||
| # Throw-away build stage to reduce size of final image | ||||
| FROM base as build | ||||
| FROM base AS build | ||||
| 
 | ||||
| # Install packages needed to build gems | ||||
| RUN apt-get update -qq && \ | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| # syntax = docker/dockerfile:1 | ||||
| 
 | ||||
| # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile | ||||
| ARG RUBY_VERSION=3.3.6 | ||||
| ARG RUBY_VERSION=3.4.1 | ||||
| FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base | ||||
| 
 | ||||
| # Rails app lives here | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user