File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build docker image
2+ on :
3+ push :
4+ tags :
5+ - ' *'
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v3
13+
14+ - name : Docker meta
15+ id : meta
16+ uses : docker/metadata-action@v4
17+ with :
18+ images : ghcr.io/${{ github.repository_owner }}/adminer-sqlite
19+
20+ - name : Set up QEMU
21+ uses : docker/setup-qemu-action@v2
22+
23+ - name : Set up Docker Buildx
24+ uses : docker/setup-buildx-action@v2
25+
26+ - name : Login to GitHub Container Registry
27+ uses : docker/login-action@v2
28+ with :
29+ registry : ghcr.io
30+ username : ${{ github.repository_owner }}
31+ password : ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Build and push
34+ uses : docker/build-push-action@v4
35+ with :
36+ context : .
37+ platforms : linux/amd64,linux/arm64
38+ push : true
39+ tags : ${{ steps.meta.outputs.tags }}
Original file line number Diff line number Diff line change 1+ FROM adminer:4.8.1-standalone
2+
3+ COPY login-password-less.php /var/www/html/plugins-enabled/login-password-less.php
Original file line number Diff line number Diff line change 1+ <?php
2+ require_once ('plugins/login-password-less.php ' );
3+
4+ return new AdminerLoginPasswordLess (password_hash ("admin " , PASSWORD_DEFAULT ));
You can’t perform that action at this time.
0 commit comments