Remove COMMIT_SHA and COMMIT_DATE build arg

This commit is contained in:
Clémentine Urquizar
2021-08-31 17:01:58 +02:00
parent 23ccf4429e
commit e002509bf2
4 changed files with 4 additions and 12 deletions

View File

@ -13,9 +13,6 @@ jobs:
- name: Check if current release is latest
run: echo "##[set-output name=is_latest;]$(sh .github/is-latest-release.sh)"
id: release
- name: Set COMMIT_DATE env variable
run: |
echo "COMMIT_DATE=$( git log --pretty=format:'%ad' -n1 --date=short )" >> $GITHUB_ENV
- name: Publish to Registry
if: steps.release.outputs.is_latest == 'true'
uses: elgohr/Publish-Docker-Github-Action@master
@ -23,4 +20,3 @@ jobs:
name: getmeili/meilisearch
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
buildargs: COMMIT_SHA,COMMIT_DATE