Compare commits
15 Commits
v3.8.2-nat
...
v3.9.7-nat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f7cfe396a | ||
|
|
521ac4d3f6 | ||
|
|
095245b421 | ||
|
|
af390af277 | ||
|
|
3e55783c5f | ||
|
|
b2fba3cac7 | ||
|
|
26f6647a4d | ||
|
|
84b6f139b9 | ||
|
|
5e865ab425 | ||
|
|
6b4c1b6676 | ||
|
|
ff654bb606 | ||
|
|
8eaa9fd792 | ||
|
|
c7af2dd52c | ||
|
|
373b497d37 | ||
|
|
6d1dc22670 |
@@ -34,21 +34,14 @@ jobs:
|
|||||||
- name: Print env
|
- name: Print env
|
||||||
run: env
|
run: env
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: apt-get update &&
|
run: |
|
||||||
|
apt-get update &&
|
||||||
apt-get install -y gettext &&
|
apt-get install -y gettext &&
|
||||||
apt-get install -y maven &&
|
apt-get install -y maven &&
|
||||||
apt-get install coreutils &&
|
apt-get install -y sudo &&
|
||||||
apt-get update &&
|
apt-get install -y iptables
|
||||||
apt-get install ca-certificates curl &&
|
- name: Set up Docker
|
||||||
install -m 0755 -d /etc/apt/keyrings &&
|
uses: http://139.9.216.111:3000/bamanker/setup-docker-action@v4
|
||||||
curl -fsSL https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc &&
|
|
||||||
chmod a+r /etc/apt/keyrings/docker.asc &&
|
|
||||||
echo \
|
|
||||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu \
|
|
||||||
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
|
|
||||||
tee /etc/apt/sources.list.d/docker.list > /dev/null &&
|
|
||||||
apt-get update &&
|
|
||||||
apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
|
||||||
- name: Generate maven config
|
- name: Generate maven config
|
||||||
uses: http://139.9.216.111:3000/bamanker/maven-settings-action@v3.1.0
|
uses: http://139.9.216.111:3000/bamanker/maven-settings-action@v3.1.0
|
||||||
with:
|
with:
|
||||||
@@ -82,7 +75,8 @@ jobs:
|
|||||||
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
|
echo "The app version is $APP_TAG" && echo "tag=$APP_TAG" >> $GITHUB_OUTPUT &&
|
||||||
echo "now workspace: ${{ github.workspace }}" &&
|
echo "now workspace: ${{ github.workspace }}" &&
|
||||||
pwd &&
|
pwd &&
|
||||||
docker version
|
docker version &&
|
||||||
|
docker --help
|
||||||
|
|
||||||
# 为其他配置文件注入环境变量
|
# 为其他配置文件注入环境变量
|
||||||
- name: Inject envVar
|
- name: Inject envVar
|
||||||
@@ -124,7 +118,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TAG: ${{ steps.set_envar.outputs.tag }}
|
TAG: ${{ steps.set_envar.outputs.tag }}
|
||||||
run: |
|
run: |
|
||||||
docker buildx build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push .
|
docker build ./Dockerfile&&
|
||||||
|
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:
|
# with:
|
||||||
# context: .
|
# context: .
|
||||||
## platforms: linux/amd64
|
## platforms: linux/amd64
|
||||||
|
|||||||
Reference in New Issue
Block a user