aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/main-branch.yml
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2024-08-11 19:33:54 +0300
committerSyndamia <kamen@syndamia.com>2024-08-11 19:33:54 +0300
commitf60610d65cb5880a99e86452becdb831ec731d2a (patch)
treeb1722c59c7c8915341b88e5bb7d4242d6a194e3e /.github/workflows/main-branch.yml
parentc25fd6299f2404f375d4e6bc461856db669a26a5 (diff)
downloadpico-web-f60610d65cb5880a99e86452becdb831ec731d2a.tar
pico-web-f60610d65cb5880a99e86452becdb831ec731d2a.tar.gz
pico-web-f60610d65cb5880a99e86452becdb831ec731d2a.zip
feat!: Major rework of DevOps components
Diffstat (limited to '.github/workflows/main-branch.yml')
-rw-r--r--.github/workflows/main-branch.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/main-branch.yml b/.github/workflows/main-branch.yml
index f19976d..9c933ef 100644
--- a/.github/workflows/main-branch.yml
+++ b/.github/workflows/main-branch.yml
@@ -5,7 +5,7 @@ on:
- main
jobs:
Build-docker-and-push:
- name: Build the docker container image and push it to dockerhub
+ name: Build the production docker container image and push it to dockerhub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -18,6 +18,8 @@ jobs:
- uses: docker/build-push-action@v5
with:
push: true
+ context: .
+ file: ./docker/prod/Dockerfile
tags: ${{ secrets.DOCKERHUB_USERNAME }}/pico-web-server:latest
Release:
@@ -30,4 +32,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GITHUB }}
with:
- bump_version_scheme: minor
+ bump_version_scheme: norelease # PR must have one of these labels: release:major, release:minor, release:patch