Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
feat: add git hash as tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Javlopez committed Mar 3, 2024
1 parent 21dda5d commit bde36e9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,9 @@ jobs:
run: |
make build-base
- name: Get short commit SHA
id: get_short_sha
run: echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: koorinc/genesis:${{ env.SHORT_SHA }}
tags: koorinc/genesis:${{ github.ref_name }}

0 comments on commit bde36e9

Please sign in to comment.