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
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:
@@ -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
|
||||
|
||||
@@ -2,6 +2,8 @@ name: node-go image
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- node-go/**
|
||||
schedule:
|
||||
- cron: '0 2 * * 0' # 02:00 sáng Chủ nhật (UTC)
|
||||
workflow_dispatch:
|
||||
@@ -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_REPO }}:${{ 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_REPO }}:${{ matrix.arch }}-latest
|
||||
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
name: node-python image
|
||||
|
||||
on:
|
||||
push:
|
||||
push:
|
||||
paths:
|
||||
- node-python/**
|
||||
schedule:
|
||||
- cron: '0 1 * * 0' # 01: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
|
||||
|
||||
@@ -6,7 +6,7 @@ Kho lưu trữ này cung cấp các Docker base image cho nhiều mục đích s
|
||||
|
||||
- **docker-node**
|
||||
- `git.thuanle.me/public/base:docker-node-latest`
|
||||
- Dockerfile: [docker-node.Dockerfile](docker-node.Dockerfile)
|
||||
- Dockerfile: [docker-node/Dockerfile](docker-node/Dockerfile)
|
||||
- Các gói/phần mềm đã cài đặt:
|
||||
- **Node.js v22** kèm theo **npm** và **yarn**
|
||||
- **Docker CLI**
|
||||
@@ -14,7 +14,7 @@ Kho lưu trữ này cung cấp các Docker base image cho nhiều mục đích s
|
||||
|
||||
- **node-python**
|
||||
- `git.thuanle.me/public/base:node-python-latest`
|
||||
- Dockerfile: [node-python.Dockerfile](node-python.Dockerfile)
|
||||
- Dockerfile: [node-python/Dockerfile](node-python/Dockerfile)
|
||||
- Các gói/phần mềm đã cài đặt:
|
||||
- **Node.js** kèm theo **npm** và **yarn**
|
||||
- **git**
|
||||
@@ -22,7 +22,7 @@ Kho lưu trữ này cung cấp các Docker base image cho nhiều mục đích s
|
||||
|
||||
- **node-go**
|
||||
- `git.thuanle.me/public/node-go:latest`
|
||||
- Dockerfile: [node-go.Dockerfile](node-go.Dockerfile)
|
||||
- Dockerfile: [node-go/Dockerfile](node-go/Dockerfile)
|
||||
- Workflow: [.gitea/workflows/node-go.yml](.gitea/workflows/node-go.yml)
|
||||
- Các gói/phần mềm đã cài đặt:
|
||||
- **Node.js** kèm theo **npm** và **yarn**
|
||||
|
||||
Reference in New Issue
Block a user