generated from edenia/full-stack-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (45 loc) · 1.56 KB
/
create-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Create Release Tags
on:
push:
tags:
- v*
jobs:
publish:
name: build and deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build new images and push
run: |
make \
build-docker-images \
push-docker-images
env:
# webapp
PORT: 3000
NEXT_PUBLIC_TAG: ${{ github.ref }}
NEXT_PUBLIC_VERSION: ${{ github.ref }}
NEXT_PUBLIC_NAME: 'edenia_boilerplate'
NEXT_PUBLIC_TITLE: 'Full-Stack Boilerplate'
NEXT_PUBLIC_LOGO: 'https://raw.githubusercontent.com/edenia/.github/master/.github/workflows/images/edenia-logo.png'
NEXT_PUBLIC_FOOTER_LINKS: '[]'
NEXT_PUBLIC_UAL_APP_NAME: 'Full-Stack Boilerplate'
NEXT_PUBLIC_UAL_API_PROTOCOL: 'https'
NEXT_PUBLIC_UAL_API_HOST: 'jungle.edenia.cloud'
NEXT_PUBLIC_UAL_API_PORT: '443'
NEXT_PUBLIC_UAL_CHAIN_ID: '2a02a0053e5a8cf73a56ba0fda11e4d92e0238a4a2aa74fccf46d5a910746840'
NEXT_PUBLIC_HASURA_URL: ${{ secrets.NEXT_PUBLIC_HASURA_URL }}
- name: Create Release
id: create_release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
prerelease: false