-
Notifications
You must be signed in to change notification settings - Fork 2
31 lines (26 loc) · 836 Bytes
/
release.yml
File metadata and controls
31 lines (26 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Release Image
run-name: dockware/web:${{ github.event.inputs.version }}, latest ${{ github.event.inputs.setLatest }}
on:
workflow_dispatch:
inputs:
version:
description: 'Image Version'
required: true
setLatest:
description: 'Is this the latest version?'
type: boolean
required: true
jobs:
on-push:
name: Release Image
runs-on: ubuntu-latest
steps:
- name: Clone Code
uses: actions/checkout@v4
- name: Release Version ${{ github.event.inputs.swVersion }}
uses: ./.github/actions/circleci
with:
VERSION: ${{ github.event.inputs.version }}
SET_LATEST: ${{ github.event.inputs.setLatest }}
# -------------------------------------------
CIRCLECI_KEY: ${{ secrets.CIRCLE_CI_TOKEN }}