Skip to content

Commit

Permalink
Use new Google Auth action (#551)
Browse files Browse the repository at this point in the history
Co-authored-by: hfhbd <[email protected]>
  • Loading branch information
hfhbd and hfhbd authored Jun 20, 2022
1 parent 0a72f9e commit 2bc1623
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- name: Set environment for version
run: long="${{ github.ref }}"; version=${long#"refs/tags/v"}; echo "version=${version}" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
Expand All @@ -29,8 +31,6 @@ jobs:
- name: Login to Google Container Registry
run: gcloud auth configure-docker "eu.gcr.io" --quiet

- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
Expand Down Expand Up @@ -79,6 +79,7 @@ jobs:
id-token: write

steps:
- uses: actions/checkout@v3
- name: Set environment for version
run: long="${{ github.ref }}"; version=${long#"refs/tags/v"}; echo "version=${version}" >> $GITHUB_ENV
- id: auth
Expand Down

0 comments on commit 2bc1623

Please sign in to comment.