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

GRN2-346: Another attempt at short sha (#2508)

* Short sha

* Another try at short sha
parent d304cb0d
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,8 @@ jobs: ...@@ -21,8 +21,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Step for Short SHA - name: Step Short SHA
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" run: echo "::set-output short_sha=${GITHUB_SHA::8}"
- name: Build and Push latest - name: Build and Push latest
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
...@@ -31,4 +31,4 @@ jobs: ...@@ -31,4 +31,4 @@ jobs:
tags: | tags: |
bigbluebutton/greenlight:master bigbluebutton/greenlight:master
bigbluebutton/greenlight:latest bigbluebutton/greenlight:latest
build-args: version_code=${{ steps.vars.outputs.sha_short }} build-args: version_code=${{ steps.vars.outputs.short_sha }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment