Compare commits
15 Commits
v3.8.5-nat
...
v4.0.0-nat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb418d8acd | ||
|
|
d4d6064bcd | ||
|
|
297ce02549 | ||
|
|
4f7cfe396a | ||
|
|
521ac4d3f6 | ||
|
|
095245b421 | ||
|
|
af390af277 | ||
|
|
3e55783c5f | ||
|
|
b2fba3cac7 | ||
|
|
26f6647a4d | ||
|
|
84b6f139b9 | ||
|
|
5e865ab425 | ||
|
|
6b4c1b6676 | ||
|
|
ff654bb606 | ||
|
|
8eaa9fd792 |
@@ -34,19 +34,14 @@ jobs:
|
||||
- name: Print env
|
||||
run: env
|
||||
- name: Install dependencies
|
||||
run: apt-get update &&
|
||||
run: |
|
||||
apt-get update &&
|
||||
apt-get install -y gettext &&
|
||||
apt-get install -y maven &&
|
||||
apt-get install coreutils &&
|
||||
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add &&
|
||||
cd /etc/apt/sources.list.d &&
|
||||
touch docker.list &&
|
||||
chmod 666 docker.list &&
|
||||
echo "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" > docker.list &&
|
||||
apt-get update &&
|
||||
apt upgrade &&
|
||||
apt-get install -y docker-ce docker-ce-cli containerd.io
|
||||
|
||||
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
|
||||
uses: http://139.9.216.111:3000/bamanker/maven-settings-action@v3.1.0
|
||||
with:
|
||||
@@ -79,8 +74,8 @@ jobs:
|
||||
run: |
|
||||
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
|
||||
@@ -122,7 +117,11 @@ jobs:
|
||||
env:
|
||||
TAG: ${{ steps.set_envar.outputs.tag }}
|
||||
run: |
|
||||
docker buildx build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} --push .
|
||||
ls &&
|
||||
docker build --file Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} &&
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user