This commit is contained in:
Ahmad Farhat 2021-02-03 17:29:19 -05:00 committed by GitHub
parent 9a2842297b
commit d304cb0d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Step for Short SHA
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Build and Push latest
uses: docker/build-push-action@v2
with:
@ -28,4 +31,4 @@ jobs:
tags: |
bigbluebutton/greenlight:master
bigbluebutton/greenlight:latest
build-args: version_code=${{ GITHUB_SHA::8 }}
build-args: version_code=${{ steps.vars.outputs.sha_short }}