Skip to content

Commit b739ec9

Browse files
committed
UPDATE: use latest versions of Google GHA libs
1 parent 00b4b08 commit b739ec9

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.dockerignore

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.bundle/
2+
dist/
3+
.DS_Store
4+
*.env
5+
generated/
6+
gha-creds-*.json
7+
.jekyll-cache/
8+
.jekyll-metadata
9+
node_modules/
10+
_site/
11+
.sass-cache/
12+
tmp/
13+
*.tmp
14+
top-1m.csv.zip
15+
vendor/
16+
.wrangler/

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
file: ./Dockerfile
4040
push: true
4141
tags: |
42-
ghcr.io/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
42+
ghcr.io/${{ env.IMAGE_NAME }}:${GITHUB_SHA}
4343
ghcr.io/${{ env.IMAGE_NAME }}:latest
4444
build-args: |
4545
COMMIT=${{ env.COMMIT }}

.github/workflows/gcr-deploy.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525

2626
- name: gcloud auth
2727
id: 'auth'
28-
uses: 'google-github-actions/auth@v0'
28+
uses: 'google-github-actions/auth@v2'
2929
with:
3030
credentials_json: '${{ secrets.GCP_SA_KEY }}'
3131

3232
# Setup gcloud CLI
3333
- name: gcloud setup
34-
uses: google-github-actions/setup-gcloud@v0
34+
uses: google-github-actions/setup-gcloud@v2
3535

3636
- name: gcloud docker-auth
3737
run: gcloud auth configure-docker

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ dist/
33
.DS_Store
44
*.env
55
generated/
6+
gha-creds-*.json
67
.jekyll-cache/
78
.jekyll-metadata
89
node_modules/

0 commit comments

Comments
 (0)