diff --git a/.github/workflows/upload_release.yml b/.github/workflows/upload_release.yml index 87ce1bb..31f4723 100644 --- a/.github/workflows/upload_release.yml +++ b/.github/workflows/upload_release.yml @@ -14,12 +14,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: Upload binaries to release uses: svenstaro/upload-release-action@v2 with: repo_token: ${{ secrets.GH_TOKEN }} file: Dockerfile asset_name: Dockerfile - tag: ${{ github.ref }} + tag: ${{ steps.date.outputs.date }} overwrite: true body: "Daily update release"