Skip to content

Commit

Permalink
Fix the date format
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Feb 28, 2024
1 parent 2c1c791 commit 3603135
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . -t action-deployment-poc:$(date '+%Y-%m-%d_%l-%M')
- name: Test building the docker image
run: docker build .
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v3

- name: Generate version based on date
run: echo "RELEASE_VERSION=$(date '+%Y-%m-%d_%l-%M')" >> $GITHUB_ENV
run: echo "RELEASE_VERSION=$(date '+%Y-%m-%d_%H-%M')" >> $GITHUB_ENV

- name: Log in to the Container registry
uses: docker/login-action@v3
Expand Down

0 comments on commit 3603135

Please sign in to comment.