Compare commits
No commits in common. "bca98b8b4fb42cf58877a88feb7f736b13a505b8" and "487a5b48ae2d1b2bfcf58f72c3a956ddeaa7782b" have entirely different histories.
bca98b8b4f
...
487a5b48ae
@ -14,4 +14,4 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Start shell build
|
- name: Start shell build
|
||||||
run: CONTAINER_TOKEN=${{ secrets.GITHUB_TOKEN }} ./build.sh
|
run: CONTAINER_TOKEN=${{ secrets.CONTAINER_TOKEN }} ./build.sh
|
||||||
|
5
build.sh
5
build.sh
@ -10,9 +10,8 @@ do
|
|||||||
do
|
do
|
||||||
echo "Building $i"
|
echo "Building $i"
|
||||||
DISTRO=$(echo $i | cut -d '/' -f 3)
|
DISTRO=$(echo $i | cut -d '/' -f 3)
|
||||||
VERSION=$(echo $i | cut -d '/' -f 4 | cut -d '.' -f2-)
|
|
||||||
|
|
||||||
docker build -f $i . -t $IMAGE_NAME:$DISTRO$VERSION
|
docker build -f $i . -t $IMAGE_NAME:$DISTRO
|
||||||
docker push $IMAGE_NAME:$DISTRO$VERSION
|
docker push $IMAGE_NAME:$DISTRO
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user