feat: update workflows and Dockerfiles for node-go, node-python, and docker-node images
docker-node image / build (arm64) (push) Successful in 15s
node-go image / build (arm64) (push) Successful in 16s
node-go image / build (amd64) (push) Successful in 7s
docker-node image / build (amd64) (push) Successful in 48s
node-python image / build (amd64) (push) Successful in 8s
docker-node image / amend-manifest (push) Successful in 5s
node-python image / build (arm64) (push) Successful in 15s
node-go image / amend-manifest (push) Successful in 15s
node-python image / amend-manifest (push) Successful in 14s

This commit is contained in:
2026-06-23 16:49:10 +07:00
parent bb01daeb4d
commit 32f2065446
7 changed files with 19 additions and 13 deletions
+6 -4
View File
@@ -1,7 +1,9 @@
name: docker-node image
on:
push:
push:
paths:
- docker-node/**
schedule:
- cron: '0 0 * * 0' # 00:00 sáng Chủ nhật (UTC)
workflow_dispatch: # Cho phép chạy tay nếu cần
@@ -34,11 +36,11 @@ jobs:
echo "Building image ${{ env.IMAGE }} for architecture: ${{ matrix.arch }}"
docker build \
-f ${{ env.IMAGE }}.Dockerfile \
-f ${{ env.IMAGE }}/Dockerfile \
-t ${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-${{ matrix.arch }}-latest \
--label "build_date=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
--label "commit_sha=${{ github.sha }}" \
.
${{ env.IMAGE }}
docker push ${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-${{ matrix.arch }}-latest
@@ -63,4 +65,4 @@ jobs:
${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-amd64-latest \
${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-arm64-latest
docker manifest push ${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-latest
docker manifest push ${{ env.IMAGE_BASE }}:${{ env.IMAGE }}-latest