Compare commits

..

3 Commits

Author SHA1 Message Date
Renovate Bot
49090a9ce5 Update dependency @playwright/test to v1.47.0
Some checks failed
Playwright Tests / test (pull_request) Failing after 4m44s
Build Nginx-based docker image / build-static-assets (pull_request) Failing after 2m45s
2024-09-08 12:17:25 +00:00
118a42fb31 Merge pull request 'Match image name with repo name' (#46) from refactor-registry into main
All checks were successful
Playwright Tests / test (push) Successful in 4m49s
Build Nginx-based docker image / build-static-assets (push) Successful in 8m47s
Reviewed-on: #46
2024-09-07 14:09:41 +00:00
bae33974b3 Match image name with repo name
All checks were successful
Build Nginx-based docker image / build-static-assets (pull_request) Successful in 7m7s
Playwright Tests / test (pull_request) Successful in 10m6s
2024-09-07 15:57:06 +02:00

View File

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