Skip to content

Commit

Permalink
feat: Update Docker image tags and add workflow to print formatted da…
Browse files Browse the repository at this point in the history
…tetime
  • Loading branch information
shadowofgost committed May 8, 2024
1 parent cd6e05c commit dc9399b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/quant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
id: datetime
run: |
formatted_datetime=$(date -d "${{ github.event.head_commit.timestamp }}" +'%Y-%m-%d')
echo "Formatted Datetime: $formatted_datetime"
echo "::set-output name=formatted_datetime::$formatted_datetime"
- name: Build and push quant Docker images to docker.io and ghcr.io
uses: docker/build-push-action@v5
Expand All @@ -46,6 +47,6 @@ jobs:
push: true
tags: |
ghcr.io/shadowofgost/quant:latest
ghcr.io/shadowofgost/quant:relaese-${{steps.datetime.outputs.formatted_datetime}}
shadowofgost/quant:release-${{steps.datetime.outputs.formatted_datetime}}
ghcr.io/shadowofgost/quant:${{steps.datetime.outputs.formatted_datetime}}
shadowofgost/quant:latest
shadowofgost/quant:${{steps.datetime.outputs.formatted_datetime}}

0 comments on commit dc9399b

Please sign in to comment.