This commit is contained in:
@@ -2,12 +2,13 @@ name: Deploy
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- "v*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.bga.sh
|
REGISTRY: git.bga.sh
|
||||||
IMAGE: ${{ github.repository_owner }}/vat-api.eu
|
DOCKER_BUILDKIT: 1
|
||||||
|
VERSION: ${{ github.ref_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name: Publish
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ jobs:
|
|||||||
trigger_tag:
|
trigger_tag:
|
||||||
name: Trigger Tag Function
|
name: Trigger Tag Function
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user