Skip to content

Commit

Permalink
Try fixing up the date tag more
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirks committed Jun 10, 2024
1 parent e975868 commit 52a08b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ jobs:
echo "IMAGE_TAG=$IMAGE_TAG" >> $GITHUB_ENV
# Tag the image with the date too
DATE_TAG=$IMAGE_TAG-$(date --iso-8601=seconds --utc | sed 's/+00:00/Z/')
DATE_TAG=${IMAGE_TAG}_$(date -u +"%Y-%m-%dT%H-%M-%SZ")
echo "The date tag is: $DATE_TAG"
echo "DATE_TAG=$DATE_TAG" >> $GITHUB_ENV
- name: Build images
uses: devcontainers/[email protected]
# Options: https://github.com/devcontainers/ci/blob/main/action.yml
Expand Down

0 comments on commit 52a08b1

Please sign in to comment.