From ab357eca1e7cbaab1d4aa81b32bce336a1b62383 Mon Sep 17 00:00:00 2001 From: Shao Yu-Lung Date: Mon, 2 Oct 2023 09:15:32 +0800 Subject: [PATCH 1/2] devops: upgrade to docker/login-action@v3 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65b266f..b77cffe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Login to Docker Hub if: ${{ (github.event_name != 'pull_request') && (github.ref == 'refs/heads/master') }} - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} From 6a8ff23dc919915f7647a21862b771de7853b288 Mon Sep 17 00:00:00 2001 From: Shao Yu-Lung Date: Mon, 2 Oct 2023 09:16:06 +0800 Subject: [PATCH 2/2] devops: upgrade to docker/build-push-action@v5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b77cffe..266b64d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v5 with: build-args: PHP_TAG_VERSION=${{ matrix.php_version }} push: ${{ (github.event_name != 'pull_request') && (github.ref == 'refs/heads/master') }}