Refactor Docker build command for improved readability
This commit is contained in:
@@ -32,9 +32,9 @@ jobs:
|
|||||||
- name: Build Docker images
|
- name: Build Docker images
|
||||||
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 }}" \
|
||||||
.
|
.
|
||||||
|
|||||||
Reference in New Issue
Block a user