File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 - ci
6262
6363 steps :
64+ - name : Docker meta
65+ id : meta
66+ uses : docker/metadata-action@v6
67+ with :
68+ images : sharevb/it-tools
69+
6470 # Checkout the repository
6571 - name : Checkout repository
6672 uses : actions/checkout@v4
9197 file : ./Dockerfile
9298 platforms : linux/amd64,linux/arm64
9399 push : true
100+ labels : ${{ steps.meta.outputs.labels }}
94101 tags : |
95102 sharevb/it-tools:nightly
96103 ghcr.io/${{ github.repository_owner }}/it-tools:nightly
Original file line number Diff line number Diff line change 4242 needs :
4343 - ci
4444 steps :
45+ - name : Docker meta
46+ id : meta
47+ uses : docker/metadata-action@v6
48+ with :
49+ images : sharevb/it-tools
50+
4551 # Checkout the repository
4652 - name : Checkout repository
4753 uses : actions/checkout@v4
7480 "BASE_URL=/it-tools/"
7581 platforms : linux/amd64,linux/arm64
7682 push : true
83+ labels : ${{ steps.meta.outputs.labels }}
7784 tags : |
7885 sharevb/it-tools:baseurl-it-tools
7986 ghcr.io/sharevb/it-tools:baseurl-it-tools
Original file line number Diff line number Diff line change 4242 needs :
4343 - ci
4444 steps :
45+ - name : Docker meta
46+ id : meta
47+ uses : docker/metadata-action@v6
48+ with :
49+ images : sharevb/it-tools
50+
4551 # Checkout the repository
4652 - name : Checkout repository
4753 uses : actions/checkout@v4
7480 "BASE_URL=/"
7581 platforms : linux/amd64,linux/arm64
7682 push : true
83+ labels : ${{ steps.meta.outputs.labels }}
7784 tags : |
7885 sharevb/it-tools:latest
7986 ghcr.io/${{ github.repository_owner }}/it-tools:latest
Original file line number Diff line number Diff line change 1212 docker-release :
1313 runs-on : ubuntu-latest
1414 steps :
15+ - name : Docker meta
16+ id : meta
17+ uses : docker/metadata-action@v6
18+ with :
19+ images : sharevb/it-tools
20+
1521 - name : Get release version
1622 run : echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
1723
4652 "BASE_URL=/it-tools/"
4753 platforms : linux/amd64,linux/arm64
4854 push : true
55+ labels : ${{ steps.meta.outputs.labels }}
4956 tags : |
5057 sharevb/it-tools:baseurl-it-tools
5158 sharevb/it-tools:stable-baseurl-it-tools
6168 file : ./Dockerfile
6269 platforms : linux/amd64,linux/arm64
6370 push : true
71+ labels : ${{ steps.meta.outputs.labels }}
6472 tags : |
6573 sharevb/it-tools:latest
6674 sharevb/it-tools:stable
Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ RUN pnpm build
1818
1919# production stage
2020FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
21+
22+ LABEL maintainer="ShareVB <sharevb@gmail.com>" \
23+ org.opencontainers.image.authors="ShareVB <sharevb@gmail.com>"
24+
2125ENV VITE_VERCEL_ENV=production
2226ARG BASE_URL
2327ENV BASE_URL=${BASE_URL}
You can’t perform that action at this time.
0 commit comments