A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
ci(docker): publish multiple docker images, to multiple registries
Amruth Pillaideb51f0e2969
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.ymlindex e5e1f5d0e..2bafce1fa 100644--- a/.github/workflows/docker-build-push.yml+++ b/.github/workflows/docker-build-push.yml@@ -13,19 +13,33 @@ jobs:- name: Checkout the repositoryuses: actions/[email protected]+ - name: Get Short Commit SHA+ run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"+- name: Login to Docker Hubuses: docker/[email protected]with:username: ${{ secrets.DOCKER_USERNAME }}password: ${{ secrets.DOCKER_PASSWORD }}+ - name: Login to GitHub Container Registry+ uses: docker/[email protected]+ with:+ registry: ghcr.io+ username: $GITHUB_REPOSITORY_OWNER+ password: ${{ secrets.GH_TOKEN }}+- name: Build and Push Server Docker Imageuses: docker/[email protected]with:context: .push: truefile: server/Dockerfile- tags: amruthpillai/reactive-resume:server+ tags: |+ amruthpillai/reactive-resume:server-latest+ amruthpillai/reactive-resume:server-${{ steps.slug.outputs.sha8 }}+ ghcr.io/amruthpillai/reactive-resume:server-latest+ ghcr.io/amruthpillai/reactive-resume:server-${{ steps.slug.outputs.sha8 }}- name: Build and Push Client Docker Imageuses: docker/[email protected]@@ -33,4 +47,8 @@ jobs:context: .push: truefile: client/Dockerfile- tags: amruthpillai/reactive-resume:client+ tags: |+ amruthpillai/reactive-resume:client-latest+ amruthpillai/reactive-resume:client-${{ steps.slug.outputs.sha8 }}+ ghcr.io/amruthpillai/reactive-resume:client-latest+ ghcr.io/amruthpillai/reactive-resume:client-${{ steps.slug.outputs.sha8 }}diff --git a/server/Dockerfile b/server/Dockerfileindex a26875517..64ebecb4f 100644--- a/server/Dockerfile+++ b/server/Dockerfile@@ -35,7 +35,7 @@ RUN apt-get update \&& apt-get install -y curl g++ make \&& curl -sL https://deb.nodesource.com/setup_16.x | bash \&& apt-get install -y nodejs \- && npx playwright install-deps chromium+ && PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npx playwright install-deps chromiumRUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm