update build
This commit is contained in:
@@ -1,6 +1,20 @@
|
|||||||
name: 'Build docker container'
|
name: 'Build docker container'
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: "Select branch to build"
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- 9.0-alpine-23
|
||||||
|
- 9.0-alpine-22
|
||||||
|
- 9.0-alpine-21
|
||||||
|
- 8.0-alpine-22
|
||||||
|
- 8.0-alpine-21
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -10,6 +24,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.branch }}
|
||||||
|
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: |
|
run: |
|
||||||
echo "Checking docker installation"
|
echo "Checking docker installation"
|
||||||
@@ -36,6 +53,7 @@ jobs:
|
|||||||
images: |
|
images: |
|
||||||
git.claeyscloud.com/david/net-base
|
git.claeyscloud.com/david/net-base
|
||||||
tags: |
|
tags: |
|
||||||
|
type=raw,value=${{ inputs.branch }}
|
||||||
type=semver,pattern={{raw}}
|
type=semver,pattern={{raw}}
|
||||||
type=semver,pattern={{version}}
|
type=semver,pattern={{version}}
|
||||||
type=semver,pattern={{major}}
|
type=semver,pattern={{major}}
|
||||||
|
|||||||
Reference in New Issue
Block a user