diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 4e8e51a..d0b2e06 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -11,8 +11,6 @@ env: DEPLOYMENT: ${{ secrets.DEPLOYMENT }} CLUSTER_NAME: ${{ secrets.CLUSTER_NAME }} - - NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} GKE_PROJECT: ${{ secrets.GKE_PROJECT }} GKE_ZONE: ${{ secrets.GKE_ZONE }} GKE_ZONE_CLUSTER: ${{ secrets.GKE_ZONE_CLUSTER }} @@ -34,10 +32,10 @@ jobs: # - name: Cache Docker layers # uses: actions/cache@v2 # with: - # path: /tmp/.buildtoogle-cache - # key: ${{ runner.os }}-buildtoogle-${{ github.sha }} + # path: /tmp/.buildsslatt-cache + # key: ${{ runner.os }}-buildsslatt-${{ github.sha }} # restore-keys: | - # ${{ runner.os }}-buildtoogle- + # ${{ runner.os }}-buildsslatt- - name: Get short SHA id: slug @@ -84,19 +82,18 @@ jobs: push: true tags: ${{ env.REGISTRY }}:${{ env.IMAGE }}-${{ steps.slug.outputs.sha7 }},${{ env.REGISTRY }}:latest platforms: linux/amd64 - # cache-from: type=local,src=/tmp/.buildtoogle-cache - # cache-to: type=local,dest=/tmp/.buildtoogle-cache-new,mode=max + # cache-from: type=local,src=/tmp/.buildsslatt-cache + # cache-to: type=local,dest=/tmp/.buildsslatt-cache-new,mode=max build-args: | GITHUB_SHA=${{ github.sha }} GITHUB_REF=${{ github.ref }} - NPM_AUTH_TOKEN=${{ secrets.NPM_AUTH_TOKEN }} NEXT_PUBLIC_API_URL=${{ secrets.NEXT_PUBLIC_API_URL }} NEXT_PUBLIC_CDN_URL=${{ secrets.NEXT_PUBLIC_CDN_URL }} # - name: Move cache # run: | - # rm -rf /tmp/.buildtoogle-cache - # mv /tmp/.buildtoogle-cache-new /tmp/.buildtoogle-cache + # rm -rf /tmp/.buildsslatt-cache + # mv /tmp/.buildsslatt-cache-new /tmp/.buildsslatt-cache # Deploy the Docker image to the GKE cluster - name: Deploy/Update new Image to Kubernetes