|
|
|
@ -2,7 +2,7 @@ env: |
|
|
|
|
RUBY_VERSION: 2.7.2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name: CD Push |
|
|
|
|
name: Build Push |
|
|
|
|
on: |
|
|
|
|
push: |
|
|
|
|
branches: "master" |
|
|
|
@ -27,6 +27,10 @@ jobs: |
|
|
|
|
with: |
|
|
|
|
length: 7 |
|
|
|
|
|
|
|
|
|
- name: Get Branch Name |
|
|
|
|
uses: tj-actions/branch-names@v2 |
|
|
|
|
id: branch-name |
|
|
|
|
|
|
|
|
|
- name: Build and Push latest |
|
|
|
|
uses: docker/build-push-action@v2 |
|
|
|
|
with: |
|
|
|
@ -34,4 +38,4 @@ jobs: |
|
|
|
|
tags: | |
|
|
|
|
bigbluebutton/greenlight:master |
|
|
|
|
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 }}) |