From e002509bf265adc6a46795e466720c07d2d8bcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 31 Aug 2021 17:01:58 +0200 Subject: [PATCH] Remove COMMIT_SHA and COMMIT_DATE build arg --- .github/workflows/publish-binaries.yml | 4 ++-- .github/workflows/publish-deb-brew-pkg.yml | 2 +- .github/workflows/publish-docker-latest.yml | 4 ---- .github/workflows/publish-docker-tag.yml | 6 +----- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-binaries.yml b/.github/workflows/publish-binaries.yml index 19c3977fe..6e7c65858 100644 --- a/.github/workflows/publish-binaries.yml +++ b/.github/workflows/publish-binaries.yml @@ -26,7 +26,7 @@ jobs: - uses: hecrj/setup-rust-action@master with: rust-version: stable - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Build run: cargo build --release --locked - name: Upload binaries to release @@ -41,7 +41,7 @@ jobs: name: Publish for ARMv8 runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1.0.0 + - uses: actions/checkout@v2 - uses: uraimo/run-on-arch-action@v1.0.7 id: runcmd with: diff --git a/.github/workflows/publish-deb-brew-pkg.yml b/.github/workflows/publish-deb-brew-pkg.yml index 163b16573..6a5a21287 100644 --- a/.github/workflows/publish-deb-brew-pkg.yml +++ b/.github/workflows/publish-deb-brew-pkg.yml @@ -14,7 +14,7 @@ jobs: rust-version: stable - name: Install cargo-deb run: cargo install cargo-deb - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Build deb package run: cargo deb -p meilisearch-http -o target/debian/meilisearch.deb - name: Upload debian pkg to release diff --git a/.github/workflows/publish-docker-latest.yml b/.github/workflows/publish-docker-latest.yml index c669d5a8e..967248a07 100644 --- a/.github/workflows/publish-docker-latest.yml +++ b/.github/workflows/publish-docker-latest.yml @@ -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 diff --git a/.github/workflows/publish-docker-tag.yml b/.github/workflows/publish-docker-tag.yml index be540927a..559a84f31 100644 --- a/.github/workflows/publish-docker-tag.yml +++ b/.github/workflows/publish-docker-tag.yml @@ -10,10 +10,7 @@ jobs: build: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 - - name: Set COMMIT_DATE env variable - run: | - echo "COMMIT_DATE=$( git log --pretty=format:'%ad' -n1 --date=short )" >> $GITHUB_ENV + - uses: actions/checkout@v2 - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@master env: @@ -23,4 +20,3 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} tag_names: true - buildargs: COMMIT_SHA,COMMIT_DATE