Skip to content

Commit 2782351

Browse files
authored
chore: store icecast tarballs in git (lfs) (#130)
* chore: store icecast tarballs in git (lfs) * ci: verify checksum * ci: download lfs files
1 parent e5ca39c commit 2782351

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.tar.gz filter=lfs diff=lfs merge=lfs -text

.github/workflows/container.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
if: ${{ github.repository_owner == 'libretime' }}
4646
steps:
4747
- uses: actions/checkout@v5
48+
with:
49+
lfs: true
4850

4951
- uses: docker/setup-buildx-action@v3
5052

@@ -62,7 +64,7 @@ jobs:
6264
username: ${{ secrets.DOCKERHUB_USERNAME }}
6365
password: ${{ secrets.DOCKERHUB_TOKEN }}
6466

65-
- run: make icecast-${{ matrix.version }}.tar.gz
67+
- run: make checksum
6668

6769
- uses: docker/metadata-action@v5
6870
id: meta

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
*.tar.gz

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ IMAGE = ghcr.io/libretime/icecast
44

55
all: build
66

7-
tarballs: $(TARBALLS)
8-
$(TARBALLS):
9-
wget -q http://downloads.xiph.org/releases/icecast/$@
7+
checksum:
108
sha512sum --ignore-missing --check SHA512SUMS.txt
119

12-
$(VERSIONS): $(TARBALLS)
10+
$(VERSIONS): $(TARBALLS) checksum
1311
docker build \
1412
--file debian.dockerfile \
1513
--pull \

icecast-2.4.4.tar.gz

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44
3+
size 2360592

0 commit comments

Comments
 (0)