Renamed workflows and updated version code (#2516)

This commit is contained in:
Ahmad Farhat 2021-02-06 16:24:22 -05:00 committed by GitHub
parent 8fcb80a7d5
commit be6e2564d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -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 }})

View File

@ -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: