wxhelper-docker/.github/workflows/build-image.yaml

72 lines
2.6 KiB
YAML
Raw Normal View History

name: BuildImage
on:
push:
branches:
- main
jobs:
build-image:
runs-on: ubuntu-latest
container:
# 使用这个镜像不然Docker无法打包镜像
image: catthehacker/ubuntu:act-latest
steps:
- name: Login to Repository
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build 3.9.8.25 version
uses: docker/build-push-action@v2
with:
push: true
tags: lxh01/wxhelper-docker:3.9.8.25-v2
build-args: |
WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.8.25/WeChatSetup-3.9.8.25.exe
WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.8.25-v2/wxhelper.dll
2024-02-23 17:12:59 +08:00
- name: Build 3.9.8.25 version with noVNC
uses: docker/build-push-action@v2
with:
push: true
2024-02-23 17:15:49 +08:00
tags: lxh01/wxhelper-docker:3.9.8.25-v2-novnc
2024-02-23 17:25:31 +08:00
file: Dockerfile-novnc
2024-02-23 17:12:59 +08:00
build-args: |
WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.8.25/WeChatSetup-3.9.8.25.exe
WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.8.25-v2/wxhelper.dll
- name: Build 3.9.5.81 version
uses: docker/build-push-action@v2
with:
push: true
tags: lxh01/wxhelper-docker:3.9.5.81-v11
2024-02-23 17:12:59 +08:00
- name: Build 3.9.5.81 version with noVNC
uses: docker/build-push-action@v2
with:
push: true
2024-02-23 17:15:49 +08:00
tags: lxh01/wxhelper-docker:3.9.5.81-v11-novnc
2024-02-23 17:25:31 +08:00
file: Dockerfile-novnc
2024-02-23 17:12:59 +08:00
2024-02-23 17:15:49 +08:00
- name: Build 3.9.2.23 version
uses: docker/build-push-action@v2
with:
push: true
tags: lxh01/wxhelper-docker:3.9.2.23-v9
build-args: |
WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe
WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.2.23-v9/wxhelper.dll
2024-02-23 17:12:59 +08:00
2024-02-23 17:15:49 +08:00
- name: Build 3.9.2.23 version with noVNC
2024-02-23 17:12:59 +08:00
uses: docker/build-push-action@v2
with:
push: true
2024-02-23 17:15:49 +08:00
tags: lxh01/wxhelper-docker:3.9.2.23-v9-novnc
2024-02-23 17:25:31 +08:00
file: Dockerfile-novnc
2024-02-23 17:12:59 +08:00
build-args: |
WECHAT_URL=https://github.com/tom-snow/wechat-windows-versions/releases/download/v3.9.2.23/WeChatSetup-3.9.2.23.exe
WXHELPER_URL=https://github.com/ttttupup/wxhelper/releases/download/3.9.2.23-v9/wxhelper.dll