mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
update
This commit is contained in:
5
.github/workflows/maven.yml
vendored
5
.github/workflows/maven.yml
vendored
@@ -8,6 +8,7 @@
|
||||
#
|
||||
# github:依次添加以下变量,
|
||||
# 路径:Settings -> Secrets And Variables -> Actions
|
||||
# Repository secrets -> New repository secret -> 输入变量名和值
|
||||
# SERVER_HOST / Secret:服务器公网IP
|
||||
# SERVER_USERNAME / Secret:服务器用户名
|
||||
# SERVER_PASSWORD / Secret:服务器密码
|
||||
@@ -64,7 +65,7 @@ jobs:
|
||||
file: ./starter/Dockerfile # 确保 Dockerfile 文件路径正确
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/bytedesk:latest
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,windows/amd64,windows/arm64,macos/amd64,macos/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,windows/x86,windows/arm64,macos/x86,macos/arm64
|
||||
# 登录阿里云 Docker
|
||||
- name: login to aliyun docker
|
||||
run: echo ${{ secrets.ALIYUN_DOCKER_PASSWORD }} | docker login --username ${{ secrets.ALIYUN_DOCKER_USERNAME }} --password-stdin registry.cn-hangzhou.aliyuncs.com
|
||||
@@ -76,4 +77,4 @@ jobs:
|
||||
file: ./starter/Dockerfile # 确保 Dockerfile 文件路径正确
|
||||
push: true
|
||||
tags: registry.cn-hangzhou.aliyuncs.com/weiyuai/bytedesk:latest
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,windows/amd64,windows/arm64,macos/amd64,macos/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,windows/x86,windows/arm64,macos/x86,macos/arm64
|
||||
@@ -1,8 +1,8 @@
|
||||
# https://spring.io/guides/topicals/spring-boot-docker
|
||||
# https://hub.docker.com/r/jackning/bytedesk
|
||||
# maven
|
||||
# FROM eclipse-temurin:17-jdk
|
||||
FROM adoptopenjdk:17-jdk-hotspot
|
||||
FROM eclipse-temurin:17-jdk
|
||||
# FROM adoptopenjdk:17-jdk-hotspot
|
||||
# maintainer
|
||||
LABEL maintainer="270580156@qq.com"
|
||||
# Set the working directory in the container
|
||||
|
||||
Reference in New Issue
Block a user