Skip to content

Commit 00a9ace

Browse files
Refactor GitHub Actions workflows for Docker container build and deployment
1 parent 151f172 commit 00a9ace

2 files changed

Lines changed: 28 additions & 60 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags:
8+
- v**
9+
pull_request:
10+
branches:
11+
- main
12+
13+
jobs:
14+
build-backend:
15+
name: Build backend container
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Build and push backend container image
21+
uses: bCyberGmbH/build-container-image-action@main
22+
with:
23+
registry_username: ${{ github.repository_owner }}
24+
registry_password: ${{ secrets.GITHUB_TOKEN }}
25+
image_repository: ${{ github.repository }}
26+
dockerfile_path: frontend/Dockerfile
27+
build_context: frontend
28+
push_to_registry: ${{ github.event_name != 'pull_request' }}

.github/workflows/nuxtjs.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)