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
3 changed files with 7 additions and 3 deletions

31
.github/workflows/build.release.yml vendored Normal file
View File

@ -0,0 +1,31 @@
env:
RUBY_VERSION: 2.7.2
name: Build Release
on:
release:
jobs:
main:
name: Build Docker Image
runs-on: ubuntu-18.04
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Github Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push release
uses: docker/build-push-action@v2
with:
push: true
tags: |
bigbluebutton/greenlight:latest
bigbluebutton/greenlight:v2
bigbluebutton/greenlight:${{ github.event.release.tag_name }}
build-args: version_code=${{ github.event.release.tag_name }}