Compare commits

...

3 Commits

Author SHA1 Message Date
Renovate Bot
96d403d975 Update dependency rspec-rails to v7
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 1m20s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 17m22s
2024-09-07 15:09:26 +00:00
f43dbf0570 Merge pull request 'Match image name with repo name' (#58) from refactor-registry into main
All checks were successful
Run unit tests / unit_tests (push) Successful in 1m22s
Build Nginx-based docker image / build-static-assets (push) Successful in 21m40s
Reviewed-on: #58
2024-09-07 14:29:37 +00:00
b4d80deeac Match image name with repo name
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 11m22s
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 31m10s
2024-09-07 15:58:14 +02:00
3 changed files with 26 additions and 24 deletions

View File

@ -1,4 +1,4 @@
name: Build docker image
name: Build Nginx-based docker image
on:
push:
branches:
@ -15,17 +15,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
- name: Login to the private Docker registry
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: ${{ secrets.PRIVATE_REGISTRY_HOST }}
username: ${{ secrets.PRIVATE_REGISTRY_USERNAME }}
password: ${{ secrets.PRIVATE_REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: bustikiller/wedding-planner:latest
tags: |
${{ secrets.PRIVATE_REGISTRY_HOST }}/${{ env.GITHUB_REPOSITORY }}:latest
cache-from: type=registry,ref=user/app:latest
cache-to: type=inline

View File

@ -26,7 +26,7 @@ group :development, :test do
gem 'factory_bot_rails'
gem 'faker'
gem 'pry'
gem 'rspec-rails', '~> 6.1.0'
gem 'rspec-rails', '~> 7.0.0'
end
group :development do

View File

@ -133,7 +133,7 @@ GEM
jsonapi-serializable (0.3.1)
jsonapi-renderer (~> 0.2.0)
language_server-protocol (3.17.0.3)
logger (1.6.0)
logger (1.6.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
@ -241,23 +241,23 @@ GEM
reline (0.5.9)
io-console (~> 0.5)
rexml (3.2.8)
rspec-core (3.12.3)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.4)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.7)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-rails (6.1.1)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.12)
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.2)
rspec-support (~> 3.13.0)
rspec-rails (7.0.0)
actionpack (>= 7.0)
activesupport (>= 7.0)
railties (>= 7.0)
rspec-core (~> 3.13)
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rubocop (1.65.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
@ -305,7 +305,7 @@ GEM
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
zeitwerk (2.6.17)
zeitwerk (2.6.18)
PLATFORMS
aarch64-linux
@ -333,7 +333,7 @@ DEPENDENCIES
rails (~> 7.2.0, >= 7.2.1)
react-rails
redis (>= 4.0.1)
rspec-rails (~> 6.1.0)
rspec-rails (~> 7.0.0)
rubocop
rubytree
sprockets-rails