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+ labels : |
70+ org.opencontainers.image.version=nightly
71+
6472 # Checkout the repository
6573 - name : Checkout repository
6674 uses : actions/checkout@v4
9199 file : ./Dockerfile
92100 platforms : linux/amd64,linux/arm64
93101 push : true
102+ labels : ${{ steps.meta.outputs.labels }}
94103 tags : |
95104 sharevb/it-tools:nightly
96105 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+ labels : |
51+ org.opencontainers.image.version=baseurl-it-tools
52+
4553 # Checkout the repository
4654 - name : Checkout repository
4755 uses : actions/checkout@v4
7482 "BASE_URL=/it-tools/"
7583 platforms : linux/amd64,linux/arm64
7684 push : true
85+ labels : ${{ steps.meta.outputs.labels }}
7786 tags : |
7887 sharevb/it-tools:baseurl-it-tools
7988 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+ labels : |
51+ org.opencontainers.image.version=latest
52+
4553 # Checkout the repository
4654 - name : Checkout repository
4755 uses : actions/checkout@v4
7482 "BASE_URL=/"
7583 platforms : linux/amd64,linux/arm64
7684 push : true
85+ labels : ${{ steps.meta.outputs.labels }}
7786 tags : |
7887 sharevb/it-tools:latest
7988 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