Compare commits

...

2 Commits

Author SHA1 Message Date
bca98b8b4f pipeline runner
Some checks failed
Image builder / build (push) Failing after 20s
2023-08-07 11:10:21 +02:00
4c4e9388f9 pipeline runner 2023-08-07 11:09:54 +02:00
2 changed files with 4 additions and 3 deletions

View File

@ -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.CONTAINER_TOKEN }} ./build.sh run: CONTAINER_TOKEN=${{ secrets.GITHUB_TOKEN }} ./build.sh

View File

@ -10,8 +10,9 @@ 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 docker build -f $i . -t $IMAGE_NAME:$DISTRO$VERSION
docker push $IMAGE_NAME:$DISTRO docker push $IMAGE_NAME:$DISTRO$VERSION
done done
done done