From d042071e91743587a23ad17105e443c838099727 Mon Sep 17 00:00:00 2001 From: Nicolas BRIERE Date: Fri, 11 Aug 2023 14:10:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Tailscale=20acti?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-image.yml | 6 ++++-- .github/workflows/delete-docker-image.yml | 6 ++++-- .github/workflows/push-image-ghcr-to-ecr.yml | 6 ++++-- .github/workflows/run-aws.yml | 6 ++++-- .github/workflows/run-docker-upload-artifact.yml | 6 ++++-- .github/workflows/run-docker-with-db.yml | 6 ++++-- .github/workflows/run-docker.yml | 6 ++++-- .github/workflows/run-python.yml | 6 ++++-- .github/workflows/terraform.yml | 6 ++++-- CHANGELOG.md | 5 +++++ 10 files changed, 41 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index de5944c..4e2b9f1 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -55,9 +55,11 @@ jobs: image-version: ${{ steps.meta.outputs.version }} steps: - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/delete-docker-image.yml b/.github/workflows/delete-docker-image.yml index fc66166..22aca0b 100644 --- a/.github/workflows/delete-docker-image.yml +++ b/.github/workflows/delete-docker-image.yml @@ -31,9 +31,11 @@ jobs: name: ${{ inputs.environment_name }} steps: - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/push-image-ghcr-to-ecr.yml b/.github/workflows/push-image-ghcr-to-ecr.yml index 5ef1bbb..a3f5db7 100644 --- a/.github/workflows/push-image-ghcr-to-ecr.yml +++ b/.github/workflows/push-image-ghcr-to-ecr.yml @@ -36,9 +36,11 @@ jobs: name: ${{ inputs.environment_name }} steps: - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/run-aws.yml b/.github/workflows/run-aws.yml index ecac9e3..34a0231 100644 --- a/.github/workflows/run-aws.yml +++ b/.github/workflows/run-aws.yml @@ -38,9 +38,11 @@ jobs: uses: actions/checkout@v3 - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/run-docker-upload-artifact.yml b/.github/workflows/run-docker-upload-artifact.yml index 3971759..4a49cf0 100644 --- a/.github/workflows/run-docker-upload-artifact.yml +++ b/.github/workflows/run-docker-upload-artifact.yml @@ -66,9 +66,11 @@ jobs: steps: - name: Tailscale if: ${{ inputs.aws_credentials_enabled }} - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/run-docker-with-db.yml b/.github/workflows/run-docker-with-db.yml index a29b8d8..fc681d1 100644 --- a/.github/workflows/run-docker-with-db.yml +++ b/.github/workflows/run-docker-with-db.yml @@ -76,9 +76,11 @@ jobs: steps: - name: Tailscale if: ${{ inputs.aws_credentials_enabled }} - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/run-docker.yml b/.github/workflows/run-docker.yml index 28896a7..09f67e6 100644 --- a/.github/workflows/run-docker.yml +++ b/.github/workflows/run-docker.yml @@ -68,9 +68,11 @@ jobs: steps: - name: Tailscale if: ${{ inputs.aws_credentials_enabled }} - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/run-python.yml b/.github/workflows/run-python.yml index 00e7744..578b608 100644 --- a/.github/workflows/run-python.yml +++ b/.github/workflows/run-python.yml @@ -35,9 +35,11 @@ jobs: steps: - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 8aa9d50..e42295d 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -58,9 +58,11 @@ jobs: name: ${{ inputs.environment_name }} steps: - name: Tailscale - uses: tailscale/github-action@v1 + uses: tailscale/github-action@v2 with: - authkey: ${{ secrets.TAILSCALE_AUTH_KEY }} + oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }} + oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} + tags: tag:ci version: ${{ vars.TAILSCALE_VERSION }} - name: Import Secrets diff --git a/CHANGELOG.md b/CHANGELOG.md index fb6b6d6..ac8f5e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,3 +83,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [2.7.0] - 2023-07-24 ### Added - Customize capability for terraform parallelism + + +## [2.8.0] - 2023-08-11 +### Updated +- Tailscale v1 to v2