Skip to content

Commit b14cc0b

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

File tree

5 files changed

+19
-50
lines changed

5 files changed

+19
-50
lines changed

.dockerignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
vendor/
15+
.wrangler/

.github/workflows/build.yaml

-47
This file was deleted.

.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/

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ RUN apk update && \
44
apk upgrade && \
55
apk --no-cache add git upx wget ca-certificates
66
RUN mkdir /build
7+
WORKDIR /build
78
RUN wget https://tranco-list.eu/top-1m.csv.zip
89

910
ADD . /build/
10-
WORKDIR /build
1111
ARG COMMIT
1212
ARG LASTMOD
1313
RUN echo "INFO: building for $COMMIT on $LASTMOD"

0 commit comments

Comments
 (0)