3939 tags : |
4040 lycheeorg/lychee:testing-${{ github.run_id }}
4141
42+ devtools :
43+ runs-on : ubuntu-latest
44+ steps :
45+ -
46+ name : Checkout
47+ uses : actions/checkout@v3
48+ -
49+ name : Set up QEMU
50+ uses : docker/setup-qemu-action@v2
51+ -
52+ name : Set up Docker Buildx
53+ uses : docker/setup-buildx-action@v2
54+ -
55+ name : Login to DockerHub
56+ uses : docker/login-action@v2
57+ with :
58+ username : ${{ secrets.DOCKERHUB_USERNAME }}
59+ password : ${{ secrets.DOCKERHUB_TOKEN }}
60+ -
61+ name : Build and push
62+ uses : docker/build-push-action@v3
63+ with :
64+ context : .
65+ file : ./Dockerfile
66+ platforms : linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
67+ push : true
68+ build-args : |
69+ COMPOSER_NO_DEV=0
70+ tags : |
71+ lycheeorg/lychee:testing-${{ github.run_id }}-devtools
72+
4273 default-env :
4374 needs : multiarch
4475 runs-on : ubuntu-latest
@@ -160,7 +191,7 @@ jobs:
160191 run : ' docker-compose up -d && sleep 45 && docker-compose ps && curl -sSw "%{stderr}%{http_code}" http://localhost:90/ > /dev/null && curl -f http://localhost:90/'
161192
162193 retag :
163- needs : [default-env, sqlite, sqlite2, mysql, postgres, docker-compose]
194+ needs : [default-env, sqlite, sqlite2, mysql, postgres, docker-compose, devtools ]
164195 runs-on : ubuntu-latest
165196 container :
166197 image : gcr.io/go-containerregistry/crane:debug
@@ -172,3 +203,4 @@ jobs:
172203 crane tag lycheeorg/lychee:testing-${{ github.run_id }} dev
173204 crane tag lycheeorg/lychee:testing-${{ github.run_id }} nightly
174205 crane cp lycheeorg/lychee:testing-${{ github.run_id }} lycheeorg/lychee-laravel:dev
206+ crane tag lycheeorg/lychee:testing-${{ github.run_id }}-devtools devtools
0 commit comments