File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 - name : Set up Docker Buildx 🐳
5252 uses : docker/setup-buildx-action@v4
5353
54+ - name : Extract Docker metadata 🏷️
55+ id : meta
56+ uses : docker/metadata-action@v5
57+ with :
58+ images : |
59+ ${{ env.GHCR_REGISTRY }}/${{ env.DOCKER_USER }}/${{ env.IMAGE_NAME }}
60+ ${{ env.DOCKERHUB_REGISTRY }}/${{ env.DOCKER_USER }}/${{ env.IMAGE_NAME }}
61+
5462 - name : Login to GitHub Container Registry 🔑
5563 uses : docker/login-action@v4
5664 with :
7280 file : ./Dockerfile
7381 push : true
7482 platforms : linux/amd64,linux/arm64/v8
83+ labels : ${{ steps.meta.outputs.labels }}
7584 tags : |
7685 ${{ env.GHCR_TAG }}
7786 ${{ env.DOCKERHUB_TAG }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ FROM node:${NODE_VERSION}-${DEBIAN_VERSION} AS build
1010# Set the container's default shell to Bash and enable some options
1111SHELL ["/bin/bash" , "-euo" , "pipefail" , "-c" ]
1212
13- # Install Chromium browser and Download and verify Google Chrome’ s signing key
13+ # Install Chromium browser and Download and verify Google Chrome' s signing key
1414RUN apt-get update -qq --fix-missing && \
1515 apt-get -qqy install --allow-unauthenticated gnupg wget && \
1616 wget --quiet --output-document=- https://dl-ssl.google.com/linux/linux_signing_key.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/google-archive.gpg && \
@@ -60,5 +60,12 @@ ENV CHROME_PATH='/usr/bin/chromium' \
6060 PUPPETEER_EXECUTABLE_PATH='/usr/bin/chromium' \
6161 PUPPETEER_SKIP_DOWNLOAD='true'
6262
63+ LABEL org.opencontainers.image.title="Web-Check" \
64+ org.opencontainers.image.description="All-in-one OSINT tool for analysing any website" \
65+ org.opencontainers.image.url="https://web-check.xyz" \
66+ org.opencontainers.image.source="https://github.com/lissy93/web-check" \
67+ org.opencontainers.image.licenses="MIT" \
68+ org.opencontainers.image.vendor="Alicia Sykes"
69+
6370# Define the command executed when the container starts and start the server.js of the Node.js application
6471CMD ["yarn" , "start" ]
You can’t perform that action at this time.
0 commit comments