CI(GitHub Actions): change actions versioning

Summary:
commit hash is not my preferred solution, Just use tags.

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `arc land`?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D194
This commit is contained in:
revi 2024-06-08 12:04:55 +09:00
parent fecb9204c1
commit ffae464265
Signed by: revi
GPG key ID: 1EB4F6CEEA100E94

View file

@ -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