We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c99f8 commit 501699fCopy full SHA for 501699f
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: Image Build
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version:
7
+ required: true
8
+ type: string
9
+ description: Image version to build
10
+ release:
11
+ types: [published]
12
13
+env:
14
+ REGISTRY: docker.io
15
+ DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
16
+ DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
17
+ TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }}
18
19
20
+jobs:
21
+ build:
22
+ name: Build and Push Docker images
23
+ runs-on: ubuntu-24.04
24
+ steps:
25
+ - name: Checkout code
26
+ uses: actions/checkout@v6
27
28
+ - name: Check image tag
29
+ run: |
30
+ echo "TAG=${TAG}"
31
0 commit comments