Skip to content

Commit

Permalink
[FX-3861] Update github actions versions (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashuk authored Dec 4, 2023
1 parent e7a1451 commit 4822b13
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-rings-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'davinci-github-actions': patch
---

- update dependencies (`google-github-actions/*` and `docker/*`)
8 changes: 4 additions & 4 deletions build-push-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ runs:
- name: Docker meta
id: meta
uses: docker/metadata-action@v4.3.0
uses: docker/metadata-action@v5.2.0
with:
images: |
us-central1-docker.pkg.dev/toptal-hub/containers/${{ inputs.image-name }}
Expand All @@ -69,18 +69,18 @@ runs:
latest=${{ steps.meta-latest.outputs.latest }}
- name: Login to Google Artifact Registry - GAR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: us-central1-docker.pkg.dev
username: _json_key
password: ${{ env.GCR_ACCOUNT_KEY }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build and push release image
uses: docker/build-push-action@v3.3.0
uses: docker/build-push-action@v5.1.0
with:
provenance: false
tags: ${{ steps.meta.outputs.tags }}
Expand Down
4 changes: 2 additions & 2 deletions generate-gql-types/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ runs:
using: composite
steps:
- name: Auth Google cloud toolchain
uses: google-github-actions/auth@v1.0.0
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ inputs.gcr-gql-schemas-bucket-token }}
create_credentials_file: true

- name: Setup Google cloud toolchain
uses: google-github-actions/[email protected].0
uses: google-github-actions/[email protected].1

- name: Check types cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion gsm-secrets/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
using: 'composite'
steps:
- name: Authenticate to Google Cloud using WIF
uses: google-github-actions/auth@v1
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ inputs.workload_identity_provider }}
service_account: ${{ inputs.service_account }}
Expand Down

0 comments on commit 4822b13

Please sign in to comment.