[Kubernetes] Test v1.29.0 [sync git] #620
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LWPM Dist File | |
on: | |
push: | |
branches: | |
- "20.10" | |
workflow_dispatch: | |
jobs: | |
lwpm-dist-file: | |
name: lwpm-dist-file | |
runs-on: ${{ matrix.os }}-latest | |
if: | | |
contains( github.event.head_commit.message, '[lwpm dist]') | |
|| github.event_name == 'workflow_dispatch' | |
env: | |
LWPM_DOCKER_USERNAME: khs1994 | |
LWPM_DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
LWPM_DOCKER_REGISTRY: registry-1.docker.io | |
strategy: | |
matrix: | |
os: ["windows","ubuntu"] | |
fail-fast: true | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: khs1994-docker/lnmp | |
fetch-depth: 1 | |
# ref: "20.10" | |
path: lnmp | |
- name: handle-conmon | |
shell: pwsh | |
if: matrix.os == 'ubuntu' && | |
contains( github.event.head_commit.message, '[k8s]') | |
env: | |
VERSION: 2.1.3 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist conmon@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push conmon@${env:VERSION} | |
- name: handle-containerd | |
shell: pwsh | |
if: matrix.os == 'ubuntu' && | |
contains( github.event.head_commit.message, '[k8s]') | |
env: | |
VERSION: 1.7.0 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist containerd@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push containerd@${env:VERSION} | |
- name: handle-crictl | |
shell: pwsh | |
if: matrix.os == 'windows' && | |
contains( github.event.head_commit.message, '[k8s]') | |
env: | |
VERSION: 1.27.0 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist crictl@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push crictl@${env:VERSION} | |
- name: handle-etcd | |
if: endsWith('a', 'b') | |
shell: pwsh | |
env: | |
VERSION: 3.5.8 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist etcd@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push etcd@${env:VERSION} | |
- name: handle-helm | |
if: endsWith('a', 'b') | |
shell: pwsh | |
env: | |
VERSION: 3.7.0 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist helm@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push helm@${env:VERSION} | |
- name: handle-runc | |
shell: pwsh | |
if: matrix.os == 'windows' && | |
contains( github.event.head_commit.message, '[k8s]') | |
env: | |
VERSION: 1.1.0 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist runc@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push runc@${env:VERSION} | |
- name: handle-runsc | |
shell: pwsh | |
if: matrix.os == 'ubuntu' && | |
contains( github.event.head_commit.message, '[k8s]') | |
env: | |
VERSION: nightly | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist runsc@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push runsc@${env:VERSION} | |
- name: handle-compose | |
shell: pwsh | |
if: | | |
matrix.os == 'ubuntu' && | |
contains( github.event.head_commit.message, '[compose]') | |
env: | |
VERSION: 1.25.5 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist compose@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push compose@${env:VERSION} | |
- name: handle-jx | |
shell: pwsh | |
if: | | |
matrix.os == 'ubuntu' && | |
contains( github.event.head_commit.message, '[jx]') | |
env: | |
VERSION: 2.1.33 | |
run: | | |
./lnmp/windows/lnmp-windows-pm.ps1 dist jx@${env:VERSION} | |
./lnmp/windows/lnmp-windows-pm.ps1 push jx@${env:VERSION} |