Compare commits

..

7 Commits

Author SHA1 Message Date
bamanker
521ac4d3f6 修改了安装docker方法9
Some checks failed
Build Push and Deploy Image / build (push) Has been cancelled
2026-01-01 22:55:47 +08:00
bamanker
095245b421 修改了安装docker方法8
Some checks failed
Build Push and Deploy Image / build (push) Failing after 20m11s
2026-01-01 16:46:08 +08:00
bamanker
af390af277 修改了安装docker方法7
Some checks failed
Build Push and Deploy Image / build (push) Failing after 35m12s
2026-01-01 10:39:29 +08:00
bamanker
3e55783c5f 修改了安装docker方法6
Some checks failed
Build Push and Deploy Image / build (push) Failing after 22m22s
2026-01-01 09:51:58 +08:00
bamanker
b2fba3cac7 修改了安装docker方法5
Some checks failed
Build Push and Deploy Image / build (push) Failing after 29m20s
2025-12-31 23:46:55 +08:00
bamanker
26f6647a4d 修改了安装docker方法4
Some checks failed
Build Push and Deploy Image / build (push) Failing after 20m58s
2025-12-31 22:48:42 +08:00
bamanker
84b6f139b9 修改了安装docker方法3
Some checks failed
Build Push and Deploy Image / build (push) Failing after 21m58s
2025-12-31 10:56:07 +08:00

View File

@@ -38,7 +38,8 @@ jobs:
apt-get update &&
apt-get install -y gettext &&
apt-get install -y maven &&
apt-get install -y sudo
apt-get install -y sudo &&
apt-get install -y iptables
- name: Set up Docker
uses: http://139.9.216.111:3000/bamanker/setup-docker-action@v4
- name: Generate maven config
@@ -74,7 +75,8 @@ jobs:
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
echo "now workspace: ${{ github.workspace }}" &&
pwd &&
docker version
docker version &&
docker --help
# 为其他配置文件注入环境变量
- name: Inject envVar
@@ -116,7 +118,10 @@ jobs:
env:
TAG: ${{ steps.set_envar.outputs.tag }}
run: |
docker buildx build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push .
docker build &&
docker image ls
# ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push.
# uses: http://139.9.216.111:3000/bamanker/docker-build-push@v5
# with:
# context: .
## platforms: linux/amd64