Refactor Docker build command for improved readability

This commit is contained in:
thuanle
2025-07-11 12:14:37 +07:00
parent 8f9fc37c09
commit 5174e4f78b

View File

@@ -33,7 +33,7 @@ jobs:
run: | run: |
echo "Building image for architecture: ${{ matrix.arch }}" echo "Building image for architecture: ${{ matrix.arch }}"
docker build . \ docker build \
-t ${{ env.IMAGE_PATH }}:${{ matrix.arch }}-latest \ -t ${{ env.IMAGE_PATH }}:${{ matrix.arch }}-latest \
--label "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \ --label "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--label "commit_sha=${{ github.sha }}" \ --label "commit_sha=${{ github.sha }}" \