Skip to content

Commit

Permalink
workflows: include Git tag in container --version
Browse files Browse the repository at this point in the history
Fetch Git tags so the output of --version for the ignition-validate
container isn't just a commit hash.
  • Loading branch information
bgilbert committed Mar 23, 2022
1 parent 381bc0a commit d202795
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
# fetch tags so the compiled-in version number is useful
fetch-depth: 0
- name: Build and push container
uses: coreos/actions-lib/build-container@main
with:
Expand Down

0 comments on commit d202795

Please sign in to comment.