Refactor Docker build command for improved readability
This commit is contained in:
@@ -32,9 +32,9 @@ jobs:
|
||||
- name: Build Docker images
|
||||
run: |
|
||||
echo "Building image for architecture: ${{ matrix.arch }}"
|
||||
|
||||
docker build . \
|
||||
-t ${{ env.IMAGE_PATH }}:${{ matrix.arch }}-latest \
|
||||
|
||||
docker build \
|
||||
-t ${{ env.IMAGE_PATH }}:${{ matrix.arch }}-latest \
|
||||
--label "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
|
||||
--label "commit_sha=${{ github.sha }}" \
|
||||
.
|
||||
|
||||
Reference in New Issue
Block a user