Skip to content

Commit

Permalink
versioning using git
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed Jul 8, 2024
1 parent bb62ffe commit 31c31ab
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
token: ${{ secrets.PAT_JONASHOECHST }}

- name: Run tsOS-Base.Pifile
uses: Nature40/pimod@v0.6.0
uses: Nature40/pimod@v0.6.1
with:
pifile: tsOS-Base.Pifile

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
pimod:
build: ./pimod
Expand Down
17 changes: 17 additions & 0 deletions tsOS-Base.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ FROM https://downloads.raspberrypi.com/raspios_lite_${ARCH}/images/raspios_lite_
TO "tsOS-Base-${ARCH}.img"
PUMP 1000M

# Set os-release info
NAME="tsOS-Base"
VERSION_ID=`git describe --tags --always || true`
VERSION_CODENAME=bookworm

RUN tee /etc/os-release <<EOF
PRETTY_NAME="$NAME $VERSION_ID ($VERSION_CODENAME)"
NAME=$NAME
VERSION_ID=$VERSION_ID
VERSION="$VERSION_ID ($VERSION_CODENAME)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://trackit.systems/"
SUPPORT_URL="https://github.com/trackIT-Systems/tsOS-Base"
BUG_REPORT_URL="https://github.com/tRackIT-Systems/tsOS-Base/issues"
EOF

#################################################
### install software

Expand Down

0 comments on commit 31c31ab

Please sign in to comment.