forked from External/greenlight
Renamed workflows and updated version code (#2516)
This commit is contained in:
parent
8fcb80a7d5
commit
be6e2564d6
|
@ -2,7 +2,7 @@ env:
|
||||||
RUBY_VERSION: 2.7.2
|
RUBY_VERSION: 2.7.2
|
||||||
|
|
||||||
|
|
||||||
name: CD Push
|
name: Build Push
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: "master"
|
branches: "master"
|
||||||
|
@ -27,6 +27,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
length: 7
|
length: 7
|
||||||
|
|
||||||
|
- name: Get Branch Name
|
||||||
|
uses: tj-actions/branch-names@v2
|
||||||
|
id: branch-name
|
||||||
|
|
||||||
- name: Build and Push latest
|
- name: Build and Push latest
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
@ -34,4 +38,4 @@ jobs:
|
||||||
tags: |
|
tags: |
|
||||||
bigbluebutton/greenlight:master
|
bigbluebutton/greenlight:master
|
||||||
bigbluebutton/greenlight:latest
|
bigbluebutton/greenlight:latest
|
||||||
build-args: version_code=${{ steps.short-sha.outputs.sha }}
|
build-args: version_code=${{ steps.branch-name.outputs.ref_branch }} (${{ steps.short-sha.outputs.sha }})
|
|
@ -2,7 +2,7 @@ env:
|
||||||
RUBY_VERSION: 2.7.2
|
RUBY_VERSION: 2.7.2
|
||||||
|
|
||||||
|
|
||||||
name: CD Release
|
name: Build Release
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
|
Loading…
Reference in New Issue