Skip to content

Commit

Permalink
Merge pull request #17 from mh739025250/main
Browse files Browse the repository at this point in the history
add gitref in docker-build-dev
  • Loading branch information
mh739025250 authored Jan 17, 2022
2 parents 5345e51 + b1ff31f commit e6c4c92
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docker-build-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name:
id: vars
shell: bash
run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
Expand All @@ -28,4 +34,4 @@ jobs:
with:
context: .
push: true
tags: deltampc/delta-chain-connector
tags: deltampc/delta-chain-connector-${{ steps.vars.outputs.sha_short }}

0 comments on commit e6c4c92

Please sign in to comment.