Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
ceddybi committed Mar 26, 2024
1 parent 7a65bab commit 0456975
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 71 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/fasdfs.yml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@ on:
- "master"

env:
REGISTRY: us-docker.pkg.dev/xxcloud/app/sslatt-backend
IMAGE: prod
DEPLOYMENT: sslatt-backend

REGISTRY: ${{ secrets.REGISTRY }}
IMAGE: ${{ secrets.IMAGE }}
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 }}
Expand Down Expand Up @@ -89,7 +86,6 @@ jobs:
build-args: |
GITHUB_SHA=${{ github.sha }}
GITHUB_REF=${{ github.ref }}
NPM_AUTH_TOKEN=${{ secrets.NPM_AUTH_TOKEN }}
- name: Move cache
run: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ FROM amd64/node:18.17 AS builder

WORKDIR /srv

RUN npm -v
RUN yarn -v
COPY . .
RUN yarn
RUN yarn --ignore-engines

RUN yarn build

Expand Down

0 comments on commit 0456975

Please sign in to comment.