Skip to content

Commit

Permalink
ci: add release
Browse files Browse the repository at this point in the history
  • Loading branch information
Clovis committed Dec 21, 2024
1 parent e35488f commit d8a9d36
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Get current version
id: version
run: echo "::set-output name=version::$(cat elk/package.json | jq ".version")"

- name: Build the Docker image
run: |
Expand All @@ -30,8 +30,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{steps.date.outputs.date}}
release_name: ${{steps.date.outputs.date}}
tag_name: ${{steps.version.outputs.version}}
release_name: ${{steps.version.outputs.version}}
draft: true
prerelease: false

Expand Down

0 comments on commit d8a9d36

Please sign in to comment.