From ffae4642658e216cd4acbc408c6faa1d362ec6cf Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Sat, 8 Jun 2024 12:04:55 +0900 Subject: [PATCH] CI(GitHub Actions): change actions versioning Summary: commit hash is not my preferred solution, Just use tags. Signed-off-by: Yongmin Hong Test Plan: `arc land`? Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D194 --- .github/workflows/build-container.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index eaa75cd..5aa28ba 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -26,19 +26,19 @@ jobs: - name: "Checkout the repository" uses: actions/checkout@v4 - name: "Log in to the Container registry" - uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728 + uses: docker/login-action@v3.2.0 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: "Extract metadata (tags, labels) for Docker" id: meta - uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48 + uses: docker/metadata-action@v5.5.1 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: "Build and push Docker image" id: push - uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd + uses: docker/build-push-action@v5.3.0 with: context: ${{ github.workspace }}/container/lighthouse-ci-server file: ${{ github.workspace }}/container/lighthouse-ci-server/Dockerfile