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:
parent
fecb9204c1
commit
ffae464265
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build-container.yml
vendored
6
.github/workflows/build-container.yml
vendored
|
@ -26,19 +26,19 @@ jobs:
|
||||||
- name: "Checkout the repository"
|
- name: "Checkout the repository"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: "Log in to the Container registry"
|
- name: "Log in to the Container registry"
|
||||||
uses: docker/login-action@70fccc794acd729b2b22dd6a326895f286447728
|
uses: docker/login-action@v3.2.0
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: "Extract metadata (tags, labels) for Docker"
|
- name: "Extract metadata (tags, labels) for Docker"
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@f7b4ed12385588c3f9bc252f0a2b520d83b52d48
|
uses: docker/metadata-action@v5.5.1
|
||||||
with:
|
with:
|
||||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
- name: "Build and push Docker image"
|
- name: "Build and push Docker image"
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
|
uses: docker/build-push-action@v5.3.0
|
||||||
with:
|
with:
|
||||||
context: ${{ github.workspace }}/container/lighthouse-ci-server
|
context: ${{ github.workspace }}/container/lighthouse-ci-server
|
||||||
file: ${{ github.workspace }}/container/lighthouse-ci-server/Dockerfile
|
file: ${{ github.workspace }}/container/lighthouse-ci-server/Dockerfile
|
||||||
|
|
Loading…
Reference in a new issue