mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-13 08:07:06 +00:00
337ef1141d
There was a bug when a branch contained a slash then the file with downloaded sources was not found. Update all, all images have to be rebuilt and pushed to docker hub so the changes are applied inside github actions. Signed-off-by: David Sterba <dsterba@suse.com>
12 lines
356 B
Bash
Executable File
12 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
# Run from the directory with Dockerfile, directory name should match the image
|
|
# name
|
|
|
|
prefix=kdave
|
|
image=$(basename `pwd` | tr '[A-Z]' '[a-z]')
|
|
|
|
# Make sure the file exists as it's required but can be empty. In that case
|
|
# it's downloaded when ./test-build is executed
|
|
touch devel.tar.gz
|
|
docker build --platform linux/386 -t "$prefix/$image" .
|