Skip to content
Snippets Groups Projects
Unverified Commit be6e2564 authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Renamed workflows and updated version code (#2516)

parent 8fcb80a7
Branches
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ env: ...@@ -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: ...@@ -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: ...@@ -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 }})
\ No newline at end of file
...@@ -2,7 +2,7 @@ env: ...@@ -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:
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment