Skip to content

Commit 61d344b

Browse files
committed
update actions version numbers
1 parent cb8ac32 commit 61d344b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/deploy-staging.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Check out the repo
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Set up Docker Buildx
24-
uses: docker/setup-buildx-action@v1
24+
uses: docker/setup-buildx-action@v2
2525
- name: Login to Docker Hub
26-
uses: docker/login-action@v1
26+
uses: docker/login-action@v2
2727
with:
2828
username: ${{ secrets.DOCKER_USERNAME }}
2929
password: ${{ secrets.DOCKER_PASSWORD }}
3030
- name: Build and push to Docker Hub
31-
uses: docker/build-push-action@v2
31+
uses: docker/build-push-action@v4
3232
with:
3333
context: .
3434
file: ./Dockerfile
@@ -39,7 +39,7 @@ jobs:
3939
${{ env.IMAGE }}:latest
4040
target: production
4141
# Setup gcloud CLI
42-
- uses: google-github-actions/setup-gcloud@v0.2.0
42+
- uses: google-github-actions/setup-gcloud@v1
4343
with:
4444
service_account_key: ${{ secrets.GKE_SA_KEY }}
4545
project_id: ${{ secrets.GKE_PROJECT }}
@@ -49,7 +49,7 @@ jobs:
4949
gcloud --quiet auth configure-docker
5050
5151
# Get the GKE credentials so we can deploy to the cluster
52-
- uses: google-github-actions/get-gke-credentials@v0.2.1
52+
- uses: google-github-actions/get-gke-credentials@v1
5353
with:
5454
cluster_name: ${{ env.GKE_CLUSTER }}
5555
location: ${{ env.GKE_ZONE }}

.github/workflows/deploy.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Check out the repo
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
with:
2424
ref: release
2525
- name: Set up Docker Buildx
2626
uses: docker/setup-buildx-action@v2
2727
with:
2828
platforms: linux/amd64,linux/arm64
2929
- name: Login to Docker Hub
30-
uses: docker/login-action@v1
30+
uses: docker/login-action@v2
3131
with:
3232
username: ${{ secrets.DOCKER_USERNAME }}
3333
password: ${{ secrets.DOCKER_PASSWORD }}
3434
- name: Build and push to Docker Hub
35-
uses: docker/build-push-action@v2
35+
uses: docker/build-push-action@v4
3636
with:
3737
context: .
3838
file: ./Dockerfile
@@ -43,7 +43,7 @@ jobs:
4343
${{ env.IMAGE }}:latest
4444
target: production
4545
# Setup gcloud CLI
46-
- uses: google-github-actions/setup-gcloud@v0.2.0
46+
- uses: google-github-actions/setup-gcloud@v1
4747
with:
4848
service_account_key: ${{ secrets.GKE_SA_KEY }}
4949
project_id: ${{ secrets.GKE_PROJECT }}
@@ -53,7 +53,7 @@ jobs:
5353
gcloud --quiet auth configure-docker
5454
5555
# Get the GKE credentials so we can deploy to the cluster
56-
- uses: google-github-actions/get-gke-credentials@v0.2.1
56+
- uses: google-github-actions/get-gke-credentials@v1
5757
with:
5858
cluster_name: ${{ env.GKE_CLUSTER }}
5959
location: ${{ env.GKE_ZONE }}

0 commit comments

Comments
 (0)