Compare commits

...

3 Commits

Author SHA1 Message Date
Renovate Bot
0e2f19a3e0 Update dependency rubocop to v1.66.1
Some checks failed
Build Nginx-based docker image / build-static-assets (pull_request) Failing after 45s
Run unit tests / unit_tests (pull_request) Successful in 1m40s
2024-09-07 22:17:09 +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
2 changed files with 12 additions and 12 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

@ -171,8 +171,8 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
parallel (1.26.2)
parser (3.3.4.2)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
pg (1.5.7)
@ -240,7 +240,6 @@ GEM
regexp_parser (2.9.2)
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)
@ -258,18 +257,17 @@ GEM
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.2)
rubocop (1.65.1)
rubocop (1.66.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
ruby-progressbar (1.13.0)
rubytree (2.1.0)