Skip to content

Commit

Permalink
fix(releaser): #32 - fix image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-delaloy committed Nov 9, 2022
1 parent fab702e commit 429bed2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
run: |
echo "SHA=$(echo $GITHUB_SHA | head -c8)" >> $GITHUB_ENV
echo "DATE=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
echo "BRANCH=$GITHUB_REF_NAME" >> $GITHUB_ENV
# Build and push the app with given file and tag
- name: 4 - BUILD + PUSH
Expand All @@ -43,8 +42,8 @@ jobs:
context: .
file: build/package/go-eland/Dockerfile
tags: |
ghcr.io/gogolcorp/go-eland:${{ env.BRANCH }}-${{ env.SHA }}-${{ env.DATE }}
ghcr.io/gogolcorp/go-eland:${{ env.BRANCH }}-${{ env.SHA }}
ghcr.io/gogolcorp/go-eland:${GITHUB_REF##*/}-${{ env.SHA }}-${{ env.DATE }}
ghcr.io/gogolcorp/go-eland:${GITHUB_REF##*/}-${{ env.SHA }}
ghcr.io/gogolcorp/go-eland:latest
# Output the logs
Expand Down

0 comments on commit 429bed2

Please sign in to comment.